diff options
-rw-r--r-- | meta/packages/qemu/qemu-git/fix-nogl.patch | 27 | ||||
-rw-r--r-- | meta/packages/qemu/qemu_git.bb | 6 |
2 files changed, 30 insertions, 3 deletions
diff --git a/meta/packages/qemu/qemu-git/fix-nogl.patch b/meta/packages/qemu/qemu-git/fix-nogl.patch index f1f9bcf00b..6cb812f00c 100644 --- a/meta/packages/qemu/qemu-git/fix-nogl.patch +++ b/meta/packages/qemu/qemu-git/fix-nogl.patch | |||
@@ -38,3 +38,30 @@ Index: git/target-arm/dummygl.c | |||
38 | +{ | 38 | +{ |
39 | + | 39 | + |
40 | +} | 40 | +} |
41 | Index: git/target-mips/dummygl.c | ||
42 | =================================================================== | ||
43 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | ||
44 | +++ git/target-mips/dummygl.c 2009-06-09 22:15:55.000000000 +0100 | ||
45 | @@ -0,0 +1,22 @@ | ||
46 | +#include <string.h> | ||
47 | +#include <stdlib.h> | ||
48 | +#include <assert.h> | ||
49 | +#include <stdint.h> | ||
50 | +#include <X11/Xlib.h> | ||
51 | +#include <X11/Xutil.h> | ||
52 | + | ||
53 | +void opengl_exec_set_parent_window(Display* _dpy, Window _parent_window) | ||
54 | +{ | ||
55 | + | ||
56 | +} | ||
57 | + | ||
58 | +void opengl_process_enable(void) | ||
59 | +{ | ||
60 | + | ||
61 | +} | ||
62 | + | ||
63 | + | ||
64 | +void mem_opengl(uint64_t ptr) | ||
65 | +{ | ||
66 | + | ||
67 | +} | ||
diff --git a/meta/packages/qemu/qemu_git.bb b/meta/packages/qemu/qemu_git.bb index c8383f4afd..98fdc7c7d5 100644 --- a/meta/packages/qemu/qemu_git.bb +++ b/meta/packages/qemu/qemu_git.bb | |||
@@ -1,7 +1,7 @@ | |||
1 | LICENSE = "GPL" | 1 | LICENSE = "GPL" |
2 | DEPENDS = "zlib" | 2 | DEPENDS = "zlib" |
3 | PV = "0.10.6+git${SRCREV}" | 3 | PV = "0.10.6+git${SRCREV}" |
4 | PR = "r1" | 4 | PR = "r2" |
5 | 5 | ||
6 | FILESPATH = "${FILE_DIRNAME}/qemu-${PV}/:${FILE_DIRNAME}/qemu-git/" | 6 | FILESPATH = "${FILE_DIRNAME}/qemu-${PV}/:${FILE_DIRNAME}/qemu-git/" |
7 | 7 | ||
@@ -18,7 +18,7 @@ SRC_URI = "\ | |||
18 | 18 | ||
19 | S = "${WORKDIR}/git" | 19 | S = "${WORKDIR}/git" |
20 | 20 | ||
21 | EXTRA_OECONF = "--target-list=arm-linux-user,arm-softmmu,i386-softmmu,x86_64-softmmu --disable-gfx-check" | 21 | EXTRA_OECONF = "--target-list=arm-linux-user,arm-softmmu,i386-softmmu,x86_64-softmmu,mips-linux-user,mips-softmmu --disable-gfx-check" |
22 | #EXTRA_OECONF += "--disable-sdl" | 22 | #EXTRA_OECONF += "--disable-sdl" |
23 | 23 | ||
24 | inherit autotools | 24 | inherit autotools |
@@ -31,6 +31,6 @@ do_configure() { | |||
31 | SRC_URI_append_virtclass-nativesdk = " file://glflags.patch;patch=1" | 31 | SRC_URI_append_virtclass-nativesdk = " file://glflags.patch;patch=1" |
32 | DEPENDS_virtclass-nativesdk = "zlib-nativesdk libsdl-nativesdk qemugl-nativesdk" | 32 | DEPENDS_virtclass-nativesdk = "zlib-nativesdk libsdl-nativesdk qemugl-nativesdk" |
33 | RDEPENDS_virtclass-nativesdk = "libsdl-nativesdk" | 33 | RDEPENDS_virtclass-nativesdk = "libsdl-nativesdk" |
34 | EXTRA_OECONF_virtclass-nativesdk = "--target-list=arm-linux-user,arm-softmmu,i386-softmmu --disable-vnc-tls --cc=${HOST_PREFIX}gcc" | 34 | EXTRA_OECONF_virtclass-nativesdk = "--target-list=arm-linux-user,arm-softmmu,i386-softmmu,x86_64-softmmu,mips-linux-user,mips-softmmu --disable-vnc-tls --cc=${HOST_PREFIX}gcc" |
35 | 35 | ||
36 | BBCLASSEXTEND = "native nativesdk" | 36 | BBCLASSEXTEND = "native nativesdk" |