summaryrefslogtreecommitdiff
path: root/meta/packages
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-09-17 11:55:44 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-09-17 22:25:25 +0100
commit43a6e6657f4141696fb27a8797b07dda722fc763 (patch)
tree9f23700f392fc7a01207649c5f4f9751477b03cb /meta/packages
parentb4def683898ecfa0330a45576c378be4fb007a5f (diff)
downloadopenembedded-core-43a6e6657f4141696fb27a8797b07dda722fc763.tar.gz
openembedded-core-43a6e6657f4141696fb27a8797b07dda722fc763.tar.bz2
openembedded-core-43a6e6657f4141696fb27a8797b07dda722fc763.tar.xz
openembedded-core-43a6e6657f4141696fb27a8797b07dda722fc763.zip
qemu-nativesdk: Add patch to fix linkage
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/qemu/qemu-git/glflags.patch13
-rw-r--r--meta/packages/qemu/qemu-nativesdk_git.bb4
2 files changed, 16 insertions, 1 deletions
diff --git a/meta/packages/qemu/qemu-git/glflags.patch b/meta/packages/qemu/qemu-git/glflags.patch
new file mode 100644
index 000000000..fadca25a2
--- /dev/null
+++ b/meta/packages/qemu/qemu-git/glflags.patch
@@ -0,0 +1,13 @@
+Index: git/Makefile.target
+===================================================================
+--- git.orig/Makefile.target 2009-09-17 11:36:06.000000000 +0100
++++ git/Makefile.target 2009-09-17 11:36:12.000000000 +0100
+@@ -748,7 +748,7 @@
+ $(QEMU_PROG): LIBS += $(SDL_LIBS) $(COCOA_LIBS) $(CURSES_LIBS) $(BRLAPI_LIBS) $(VDE_LIBS)
+
+ $(QEMU_PROG): $(OBJS) ../libqemu_common.a libqemu.a
+- $(LINK) -lGL -lGLU
++ $(LINK) -lGL
+
+ endif # !CONFIG_USER_ONLY
+
diff --git a/meta/packages/qemu/qemu-nativesdk_git.bb b/meta/packages/qemu/qemu-nativesdk_git.bb
index 30f59d8b4..9753d1522 100644
--- a/meta/packages/qemu/qemu-nativesdk_git.bb
+++ b/meta/packages/qemu/qemu-nativesdk_git.bb
@@ -1,6 +1,8 @@
require qemu_git.bb
require qemu-nativesdk.inc
-PR = "r2"
+SRC_URI += "file://glflags.patch;patch=1"
+
+PR = "r3"
EXTRA_OECONF +="--target-list=arm-linux-user,arm-softmmu,i386-softmmu --disable-vnc-tls --cc=${HOST_PREFIX}gcc"