diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-05 13:48:10 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-13 12:15:25 +0000 |
commit | b8def2104730f6d8dd1be386950aa3a14a1281c1 (patch) | |
tree | 01146973055bbb2b7709c64fd4f077e8c229b9f3 /meta/packages/qemu | |
parent | ffb23018b54932d0f127195f0265841d07b54b69 (diff) | |
download | poky-b8def2104730f6d8dd1be386950aa3a14a1281c1.tar.gz |
qemu: Convert to BBCLASSEXTEND (git version only, drop 0.9.1 native/nativesdk versions)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/qemu')
-rw-r--r-- | meta/packages/qemu/qemu-gcc3-check.inc | 11 | ||||
-rw-r--r-- | meta/packages/qemu/qemu-native.inc | 3 | ||||
-rw-r--r-- | meta/packages/qemu/qemu-native_0.9.1.bb | 5 | ||||
-rw-r--r-- | meta/packages/qemu/qemu-native_git.bb | 2 | ||||
-rw-r--r-- | meta/packages/qemu/qemu-nativesdk.inc | 3 | ||||
-rw-r--r-- | meta/packages/qemu/qemu-nativesdk_0.9.1.bb | 8 | ||||
-rw-r--r-- | meta/packages/qemu/qemu-nativesdk_git.bb | 8 | ||||
-rw-r--r-- | meta/packages/qemu/qemu_git.bb | 12 |
8 files changed, 9 insertions, 43 deletions
diff --git a/meta/packages/qemu/qemu-gcc3-check.inc b/meta/packages/qemu/qemu-gcc3-check.inc deleted file mode 100644 index 81c3555b48..0000000000 --- a/meta/packages/qemu/qemu-gcc3-check.inc +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | python __anonymous() { | ||
2 | from bb import which, data | ||
3 | |||
4 | path = data.getVar('PATH', d, 1) | ||
5 | oldOeConf = data.getVar('EXTRA_OECONF', d, 1) | ||
6 | if not oldOeConf: oldOeConf = "" | ||
7 | gcc3 = check_gcc3(d) | ||
8 | if gcc3: | ||
9 | data.setVar('EXTRA_OECONF', oldOeConf + " --cc=" + gcc3, d) | ||
10 | } | ||
11 | |||
diff --git a/meta/packages/qemu/qemu-native.inc b/meta/packages/qemu/qemu-native.inc deleted file mode 100644 index 712da3532d..0000000000 --- a/meta/packages/qemu/qemu-native.inc +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | inherit native | ||
2 | |||
3 | DEPENDS = "zlib-native" | ||
diff --git a/meta/packages/qemu/qemu-native_0.9.1.bb b/meta/packages/qemu/qemu-native_0.9.1.bb deleted file mode 100644 index e5a94a18d6..0000000000 --- a/meta/packages/qemu/qemu-native_0.9.1.bb +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | require qemu_${PV}.bb | ||
2 | require qemu-native.inc | ||
3 | require qemu-gcc3-check.inc | ||
4 | |||
5 | DEPENDS += "gcc3-native" \ No newline at end of file | ||
diff --git a/meta/packages/qemu/qemu-native_git.bb b/meta/packages/qemu/qemu-native_git.bb deleted file mode 100644 index b2343ce8ae..0000000000 --- a/meta/packages/qemu/qemu-native_git.bb +++ /dev/null | |||
@@ -1,2 +0,0 @@ | |||
1 | require qemu_git.bb | ||
2 | require qemu-native.inc | ||
diff --git a/meta/packages/qemu/qemu-nativesdk.inc b/meta/packages/qemu/qemu-nativesdk.inc deleted file mode 100644 index 3300efb96b..0000000000 --- a/meta/packages/qemu/qemu-nativesdk.inc +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | inherit nativesdk | ||
2 | DEPENDS = "zlib-nativesdk libsdl-nativesdk qemugl-nativesdk" | ||
3 | RDEPENDS = "libsdl-nativesdk" | ||
diff --git a/meta/packages/qemu/qemu-nativesdk_0.9.1.bb b/meta/packages/qemu/qemu-nativesdk_0.9.1.bb deleted file mode 100644 index fc647e8df0..0000000000 --- a/meta/packages/qemu/qemu-nativesdk_0.9.1.bb +++ /dev/null | |||
@@ -1,8 +0,0 @@ | |||
1 | require qemu_${PV}.bb | ||
2 | require qemu-nativesdk.inc | ||
3 | |||
4 | EXTRA_OECONF +="--target-list=arm-linux-user,arm-softmmu,i386-softmmu" | ||
5 | |||
6 | DEPENDS += "gcc3-native" | ||
7 | |||
8 | require qemu-gcc3-check.inc | ||
diff --git a/meta/packages/qemu/qemu-nativesdk_git.bb b/meta/packages/qemu/qemu-nativesdk_git.bb deleted file mode 100644 index ae7fdfcfe7..0000000000 --- a/meta/packages/qemu/qemu-nativesdk_git.bb +++ /dev/null | |||
@@ -1,8 +0,0 @@ | |||
1 | require qemu_git.bb | ||
2 | require qemu-nativesdk.inc | ||
3 | |||
4 | SRC_URI += "file://glflags.patch;patch=1" | ||
5 | |||
6 | PR = "r4" | ||
7 | |||
8 | EXTRA_OECONF +="--target-list=arm-linux-user,arm-softmmu,i386-softmmu --disable-vnc-tls --cc=${HOST_PREFIX}gcc" | ||
diff --git a/meta/packages/qemu/qemu_git.bb b/meta/packages/qemu/qemu_git.bb index dc640134ed..c4e48a9068 100644 --- a/meta/packages/qemu/qemu_git.bb +++ b/meta/packages/qemu/qemu_git.bb | |||
@@ -1,7 +1,7 @@ | |||
1 | LICENSE = "GPL" | 1 | LICENSE = "GPL" |
2 | DEPENDS = "zlib" | 2 | DEPENDS = "zlib" |
3 | PV = "0.10.2+git${SRCREV}" | 3 | PV = "0.10.2+git${SRCREV}" |
4 | PR = "r5" | 4 | PR = "r6" |
5 | 5 | ||
6 | FILESPATH = "${FILE_DIRNAME}/qemu-${PV}/:${FILE_DIRNAME}/qemu-git/" | 6 | FILESPATH = "${FILE_DIRNAME}/qemu-${PV}/:${FILE_DIRNAME}/qemu-git/" |
7 | 7 | ||
@@ -17,9 +17,8 @@ SRC_URI = "\ | |||
17 | 17 | ||
18 | S = "${WORKDIR}/git" | 18 | S = "${WORKDIR}/git" |
19 | 19 | ||
20 | EXTRA_OECONF = "--target-list=arm-linux-user,arm-softmmu,i386-softmmu,x86_64-softmmu --disable-gfx-check" | ||
20 | #EXTRA_OECONF += "--disable-sdl" | 21 | #EXTRA_OECONF += "--disable-sdl" |
21 | EXTRA_OECONF += "--target-list=arm-linux-user,arm-softmmu,i386-softmmu,x86_64-softmmu" | ||
22 | EXTRA_OECONF += "--disable-gfx-check" | ||
23 | 22 | ||
24 | inherit autotools | 23 | inherit autotools |
25 | 24 | ||
@@ -27,3 +26,10 @@ do_configure() { | |||
27 | ${S}/configure --prefix=${prefix} ${EXTRA_OECONF} | 26 | ${S}/configure --prefix=${prefix} ${EXTRA_OECONF} |
28 | chmod a+x ${S}/target-i386/beginend_funcs.sh | 27 | chmod a+x ${S}/target-i386/beginend_funcs.sh |
29 | } | 28 | } |
29 | |||
30 | SRC_URI_append_virtclass-nativesdk = " file://glflags.patch;patch=1" | ||
31 | DEPENDS_virtclass-nativesdk = "zlib-nativesdk libsdl-nativesdk qemugl-nativesdk" | ||
32 | RDEPENDS_virtclass-nativesdk = "libsdl-nativesdk" | ||
33 | EXTRA_OECONF_virtclass-nativesdk = "--target-list=arm-linux-user,arm-softmmu,i386-softmmu --disable-vnc-tls --cc=${HOST_PREFIX}gcc" | ||
34 | |||
35 | BBCLASSEXTEND = "native nativesdk" | ||