diff options
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" | ||