From 9b80846152931bed018f33baaaf1ba253e756867 Mon Sep 17 00:00:00 2001 From: Zhai Edwin Date: Tue, 10 May 2011 14:02:35 +0800 Subject: qemu: Upgrade qemu git to the latest 0.14 branch Also add missing patch to build qemu-git [YOCTO #1013] got fixed Signed-off-by: Zhai Edwin --- .../qemu/qemu-git/enable-i386-linux-user.patch | 53 ++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 meta/recipes-devtools/qemu/qemu-git/enable-i386-linux-user.patch (limited to 'meta/recipes-devtools/qemu/qemu-git/enable-i386-linux-user.patch') diff --git a/meta/recipes-devtools/qemu/qemu-git/enable-i386-linux-user.patch b/meta/recipes-devtools/qemu/qemu-git/enable-i386-linux-user.patch new file mode 100644 index 0000000000..3cf0953f10 --- /dev/null +++ b/meta/recipes-devtools/qemu/qemu-git/enable-i386-linux-user.patch @@ -0,0 +1,53 @@ +Enable i386-linux-user + +Signed-off-by: Zhai Edwin + +Index: qemu-0.14.0/Makefile.target +=================================================================== +--- qemu-0.14.0.orig/Makefile.target ++++ qemu-0.14.0/Makefile.target +@@ -78,8 +78,13 @@ ifeq ($(TARGET_BASE_ARCH), i386) + libobj-y += cpuid.o + endif + libobj-$(CONFIG_NEED_MMU) += mmu.o ++ifndef CONFIG_LINUX_USER + libobj-$(TARGET_I386) += helper_opengl.o opengl_exec.o + libobj-$(TARGET_X86_64) += helper_opengl.o opengl_exec.o ++else ++libobj-$(TARGET_I386) += dummygl.o ++libobj-$(TARGET_X86_64) += dummygl.o ++endif #CONFIG_LINUX_USER + libobj-$(TARGET_ARM) += dummygl.o + libobj-$(TARGET_MIPS) += dummygl.o + libobj-$(TARGET_PPC) += dummygl.o +Index: qemu-0.14.0/target-i386/dummygl.c +=================================================================== +--- /dev/null ++++ qemu-0.14.0/target-i386/dummygl.c +@@ -0,0 +1,26 @@ ++#include ++#include ++#include ++#include ++#include ++#include ++ ++void opengl_exec_set_parent_window(Display* _dpy, Window _parent_window) ++{ ++ ++} ++ ++void opengl_process_enable(void) ++{ ++ ++} ++ ++ ++void mem_opengl(uint64_t ptr) ++{ ++ ++} ++ ++void helper_opengl(void) ++{ ++} -- cgit v1.2.3