summaryrefslogtreecommitdiff
path: root/openembedded/packages
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-04-11 22:07:22 +0000
committerRichard Purdie <richard@openedhand.com>2006-04-11 22:07:22 +0000
commitdb8ae0a7bb64ebcc67aac671ddc21c549a52267f (patch)
treecd1217c1d013936db0cd89217828104064f5f751 /openembedded/packages
parentdbc24a883d61c5bc2b7cfaaac1831be40ee7d7fd (diff)
downloadopenembedded-core-db8ae0a7bb64ebcc67aac671ddc21c549a52267f.tar.gz
openembedded-core-db8ae0a7bb64ebcc67aac671ddc21c549a52267f.tar.bz2
openembedded-core-db8ae0a7bb64ebcc67aac671ddc21c549a52267f.tar.xz
openembedded-core-db8ae0a7bb64ebcc67aac671ddc21c549a52267f.zip
qemu: use gcc-3.4 or gcc-3.3 if available, disable doc generation, show a cursor on the SDL window (from mallum, tweaked by me)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@344 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages')
-rw-r--r--openembedded/packages/qemu/qemu-native_cvs.bb11
-rw-r--r--openembedded/packages/qemu/qemu_cvs.bb4
2 files changed, 14 insertions, 1 deletions
diff --git a/openembedded/packages/qemu/qemu-native_cvs.bb b/openembedded/packages/qemu/qemu-native_cvs.bb
index 07b9dae42..090c1408a 100644
--- a/openembedded/packages/qemu/qemu-native_cvs.bb
+++ b/openembedded/packages/qemu/qemu-native_cvs.bb
@@ -2,3 +2,14 @@ include qemu_cvs.bb
inherit native
prefix = "${STAGING_DIR}/${BUILD_SYS}"
+python __anonymous() {
+ from bb import which, data
+
+ path = data.getVar('PATH', d)
+ if len(which(path, 'gcc-3.4')) != 0:
+ data.setVar('EXTRA_OECONF', " --cc=gcc-3.4", d)
+ elif len(which(path, 'gcc-3.3')) != 0:
+ data.setVar('EXTRA_OECONF', " --cc=gcc-3.3", d)
+
+}
+
diff --git a/openembedded/packages/qemu/qemu_cvs.bb b/openembedded/packages/qemu/qemu_cvs.bb
index 88c18c3b6..cd203f951 100644
--- a/openembedded/packages/qemu/qemu_cvs.bb
+++ b/openembedded/packages/qemu/qemu_cvs.bb
@@ -2,7 +2,9 @@ LICENSE = "GPL"
PV = "0.8.0+cvs${SRCDATE}"
SRC_URI = "cvs://anonymous@cvs.savannah.nongnu.org/sources/qemu;method=pserver;rsh=ssh;module=qemu \
- file://configure.patch;patch=1"
+ file://configure.patch;patch=1 \
+ file://no_docs.patch;patch=1 \
+ file://show_cursor.patch;patch=1"
S = "${WORKDIR}/qemu"