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
This commit is contained in:
Richard Purdie
2006-04-11 22:07:22 +00:00
parent dbc24a883d
commit db8ae0a7bb
2 changed files with 14 additions and 1 deletions

View File

@@ -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)
}

View File

@@ -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"