diff options
author | Zhai Edwin <edwin.zhai@intel.com> | 2012-05-29 16:30:33 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-30 12:04:48 +0100 |
commit | d63298e566324cf4cc4fa457348fdce56615ecf6 (patch) | |
tree | f30baf14775837eb2d2c3113c3fc5d9793fa1de7 /meta/recipes-devtools/qemu/qemu-0.15.1/dummy-gl-config.patch | |
parent | 7a619c235f17a2e55b25d7e12984bfb61ec964fb (diff) | |
download | poky-d63298e566324cf4cc4fa457348fdce56615ecf6.tar.gz |
qemu: Add an option to remove host sdl/gl checking
Add an PACKAGECONFIG in qemu to disable GL acceleration:
* By default configure try best to enable GL acceleration and fail when missing
host dependency(libSDL and libGL).
* End user can also choose to turn off GL capability, thus remove the host
dependence in building.
[YOCTO #2407] got fixed.
(From OE-Core rev: cfa93553e17057a1ea9d81e3a415fc8260c54067)
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu-0.15.1/dummy-gl-config.patch')
-rw-r--r-- | meta/recipes-devtools/qemu/qemu-0.15.1/dummy-gl-config.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu-0.15.1/dummy-gl-config.patch b/meta/recipes-devtools/qemu/qemu-0.15.1/dummy-gl-config.patch new file mode 100644 index 0000000000..8aa30aed03 --- /dev/null +++ b/meta/recipes-devtools/qemu/qemu-0.15.1/dummy-gl-config.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | Add a dummy option for GL acceleration to pass the configure when there is no | ||
2 | GL acceleration patch. The parsing function will be filled by following | ||
3 | opengl-disable-option.patch. | ||
4 | |||
5 | Upstream-Status: Inappropriate [other] - depends on GL patch | ||
6 | |||
7 | Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> | ||
8 | |||
9 | Index: qemu-0.15.1/configure | ||
10 | =================================================================== | ||
11 | --- qemu-0.15.1.orig/configure 2012-05-14 21:23:34.000000000 +0800 | ||
12 | +++ qemu-0.15.1/configure 2012-05-14 21:23:36.000000000 +0800 | ||
13 | @@ -179,6 +179,7 @@ | ||
14 | smartcard_nss="" | ||
15 | usb_redir="" | ||
16 | opengl="" | ||
17 | +gl_accel="yes" | ||
18 | guest_agent="yes" | ||
19 | |||
20 | # parse CC options first | ||
21 | @@ -739,6 +740,10 @@ | ||
22 | ;; | ||
23 | --enable-opengl) opengl="yes" | ||
24 | ;; | ||
25 | + --disable-gl-accel) gl_accel="no" | ||
26 | + ;; | ||
27 | + --enable-gl-accel) gl_accel="yes" | ||
28 | + ;; | ||
29 | --*dir) | ||
30 | ;; | ||
31 | --disable-rbd) rbd="no" | ||