qemu: Convert to BBCLASSEXTEND (git version only, drop 0.9.1 native/nativesdk versions)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
parent
ffb23018b5
commit
b8def21047
|
@ -1,11 +0,0 @@
|
|||
python __anonymous() {
|
||||
from bb import which, data
|
||||
|
||||
path = data.getVar('PATH', d, 1)
|
||||
oldOeConf = data.getVar('EXTRA_OECONF', d, 1)
|
||||
if not oldOeConf: oldOeConf = ""
|
||||
gcc3 = check_gcc3(d)
|
||||
if gcc3:
|
||||
data.setVar('EXTRA_OECONF', oldOeConf + " --cc=" + gcc3, d)
|
||||
}
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
inherit native
|
||||
|
||||
DEPENDS = "zlib-native"
|
|
@ -1,5 +0,0 @@
|
|||
require qemu_${PV}.bb
|
||||
require qemu-native.inc
|
||||
require qemu-gcc3-check.inc
|
||||
|
||||
DEPENDS += "gcc3-native"
|
|
@ -1,2 +0,0 @@
|
|||
require qemu_git.bb
|
||||
require qemu-native.inc
|
|
@ -1,3 +0,0 @@
|
|||
inherit nativesdk
|
||||
DEPENDS = "zlib-nativesdk libsdl-nativesdk qemugl-nativesdk"
|
||||
RDEPENDS = "libsdl-nativesdk"
|
|
@ -1,8 +0,0 @@
|
|||
require qemu_${PV}.bb
|
||||
require qemu-nativesdk.inc
|
||||
|
||||
EXTRA_OECONF +="--target-list=arm-linux-user,arm-softmmu,i386-softmmu"
|
||||
|
||||
DEPENDS += "gcc3-native"
|
||||
|
||||
require qemu-gcc3-check.inc
|
|
@ -1,8 +0,0 @@
|
|||
require qemu_git.bb
|
||||
require qemu-nativesdk.inc
|
||||
|
||||
SRC_URI += "file://glflags.patch;patch=1"
|
||||
|
||||
PR = "r4"
|
||||
|
||||
EXTRA_OECONF +="--target-list=arm-linux-user,arm-softmmu,i386-softmmu --disable-vnc-tls --cc=${HOST_PREFIX}gcc"
|
|
@ -1,7 +1,7 @@
|
|||
LICENSE = "GPL"
|
||||
DEPENDS = "zlib"
|
||||
PV = "0.10.2+git${SRCREV}"
|
||||
PR = "r5"
|
||||
PR = "r6"
|
||||
|
||||
FILESPATH = "${FILE_DIRNAME}/qemu-${PV}/:${FILE_DIRNAME}/qemu-git/"
|
||||
|
||||
|
@ -17,9 +17,8 @@ SRC_URI = "\
|
|||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
EXTRA_OECONF = "--target-list=arm-linux-user,arm-softmmu,i386-softmmu,x86_64-softmmu --disable-gfx-check"
|
||||
#EXTRA_OECONF += "--disable-sdl"
|
||||
EXTRA_OECONF += "--target-list=arm-linux-user,arm-softmmu,i386-softmmu,x86_64-softmmu"
|
||||
EXTRA_OECONF += "--disable-gfx-check"
|
||||
|
||||
inherit autotools
|
||||
|
||||
|
@ -27,3 +26,10 @@ do_configure() {
|
|||
${S}/configure --prefix=${prefix} ${EXTRA_OECONF}
|
||||
chmod a+x ${S}/target-i386/beginend_funcs.sh
|
||||
}
|
||||
|
||||
SRC_URI_append_virtclass-nativesdk = " file://glflags.patch;patch=1"
|
||||
DEPENDS_virtclass-nativesdk = "zlib-nativesdk libsdl-nativesdk qemugl-nativesdk"
|
||||
RDEPENDS_virtclass-nativesdk = "libsdl-nativesdk"
|
||||
EXTRA_OECONF_virtclass-nativesdk = "--target-list=arm-linux-user,arm-softmmu,i386-softmmu --disable-vnc-tls --cc=${HOST_PREFIX}gcc"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
|
Loading…
Reference in New Issue