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>
This commit is contained in:
parent
dfe72318ed
commit
b0bda60d77
|
@ -38,3 +38,30 @@ Index: git/target-arm/dummygl.c
|
||||||
+{
|
+{
|
||||||
+
|
+
|
||||||
+}
|
+}
|
||||||
|
Index: git/target-mips/dummygl.c
|
||||||
|
===================================================================
|
||||||
|
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||||
|
+++ git/target-mips/dummygl.c 2009-06-09 22:15:55.000000000 +0100
|
||||||
|
@@ -0,0 +1,22 @@
|
||||||
|
+#include <string.h>
|
||||||
|
+#include <stdlib.h>
|
||||||
|
+#include <assert.h>
|
||||||
|
+#include <stdint.h>
|
||||||
|
+#include <X11/Xlib.h>
|
||||||
|
+#include <X11/Xutil.h>
|
||||||
|
+
|
||||||
|
+void opengl_exec_set_parent_window(Display* _dpy, Window _parent_window)
|
||||||
|
+{
|
||||||
|
+
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+void opengl_process_enable(void)
|
||||||
|
+{
|
||||||
|
+
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+
|
||||||
|
+void mem_opengl(uint64_t ptr)
|
||||||
|
+{
|
||||||
|
+
|
||||||
|
+}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
LICENSE = "GPL"
|
LICENSE = "GPL"
|
||||||
DEPENDS = "zlib"
|
DEPENDS = "zlib"
|
||||||
PV = "0.10.6+git${SRCREV}"
|
PV = "0.10.6+git${SRCREV}"
|
||||||
PR = "r1"
|
PR = "r2"
|
||||||
|
|
||||||
FILESPATH = "${FILE_DIRNAME}/qemu-${PV}/:${FILE_DIRNAME}/qemu-git/"
|
FILESPATH = "${FILE_DIRNAME}/qemu-${PV}/:${FILE_DIRNAME}/qemu-git/"
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ SRC_URI = "\
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
EXTRA_OECONF = "--target-list=arm-linux-user,arm-softmmu,i386-softmmu,x86_64-softmmu --disable-gfx-check"
|
EXTRA_OECONF = "--target-list=arm-linux-user,arm-softmmu,i386-softmmu,x86_64-softmmu,mips-linux-user,mips-softmmu --disable-gfx-check"
|
||||||
#EXTRA_OECONF += "--disable-sdl"
|
#EXTRA_OECONF += "--disable-sdl"
|
||||||
|
|
||||||
inherit autotools
|
inherit autotools
|
||||||
|
@ -31,6 +31,6 @@ do_configure() {
|
||||||
SRC_URI_append_virtclass-nativesdk = " file://glflags.patch;patch=1"
|
SRC_URI_append_virtclass-nativesdk = " file://glflags.patch;patch=1"
|
||||||
DEPENDS_virtclass-nativesdk = "zlib-nativesdk libsdl-nativesdk qemugl-nativesdk"
|
DEPENDS_virtclass-nativesdk = "zlib-nativesdk libsdl-nativesdk qemugl-nativesdk"
|
||||||
RDEPENDS_virtclass-nativesdk = "libsdl-nativesdk"
|
RDEPENDS_virtclass-nativesdk = "libsdl-nativesdk"
|
||||||
EXTRA_OECONF_virtclass-nativesdk = "--target-list=arm-linux-user,arm-softmmu,i386-softmmu --disable-vnc-tls --cc=${HOST_PREFIX}gcc"
|
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"
|
||||||
|
|
||||||
BBCLASSEXTEND = "native nativesdk"
|
BBCLASSEXTEND = "native nativesdk"
|
||||||
|
|
Loading…
Reference in New Issue