summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2010-01-15 14:53:08 +0000
committerJoshua Lock <josh@linux.intel.com>2010-01-15 15:11:56 +0000
commitb0bda60d77f066fefb57a7b084a6a0d3eee2a6ee (patch)
treed6de741ab1e6cba3c06ed73fb780912473b773f6 /meta
parentdfe72318ede6097ca80e5de06908d10f3c5bb60f (diff)
downloadpoky-b0bda60d77f066fefb57a7b084a6a0d3eee2a6ee.tar.gz
qemu: build mips system support in qemu
Add mips to the target-list configuration option and add a dummygl for mips. Signed-off-by: Joshua Lock <josh@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/qemu/qemu-git/fix-nogl.patch27
-rw-r--r--meta/packages/qemu/qemu_git.bb6
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+}
41Index: 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 @@
1LICENSE = "GPL" 1LICENSE = "GPL"
2DEPENDS = "zlib" 2DEPENDS = "zlib"
3PV = "0.10.6+git${SRCREV}" 3PV = "0.10.6+git${SRCREV}"
4PR = "r1" 4PR = "r2"
5 5
6FILESPATH = "${FILE_DIRNAME}/qemu-${PV}/:${FILE_DIRNAME}/qemu-git/" 6FILESPATH = "${FILE_DIRNAME}/qemu-${PV}/:${FILE_DIRNAME}/qemu-git/"
7 7
@@ -18,7 +18,7 @@ SRC_URI = "\
18 18
19S = "${WORKDIR}/git" 19S = "${WORKDIR}/git"
20 20
21EXTRA_OECONF = "--target-list=arm-linux-user,arm-softmmu,i386-softmmu,x86_64-softmmu --disable-gfx-check" 21EXTRA_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
24inherit autotools 24inherit autotools
@@ -31,6 +31,6 @@ do_configure() {
31SRC_URI_append_virtclass-nativesdk = " file://glflags.patch;patch=1" 31SRC_URI_append_virtclass-nativesdk = " file://glflags.patch;patch=1"
32DEPENDS_virtclass-nativesdk = "zlib-nativesdk libsdl-nativesdk qemugl-nativesdk" 32DEPENDS_virtclass-nativesdk = "zlib-nativesdk libsdl-nativesdk qemugl-nativesdk"
33RDEPENDS_virtclass-nativesdk = "libsdl-nativesdk" 33RDEPENDS_virtclass-nativesdk = "libsdl-nativesdk"
34EXTRA_OECONF_virtclass-nativesdk = "--target-list=arm-linux-user,arm-softmmu,i386-softmmu --disable-vnc-tls --cc=${HOST_PREFIX}gcc" 34EXTRA_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
36BBCLASSEXTEND = "native nativesdk" 36BBCLASSEXTEND = "native nativesdk"