mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
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:
@@ -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)
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user