summaryrefslogtreecommitdiff
path: root/packages/qemu/qemu-native_20070613.bb
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2007-08-22 17:01:20 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2007-08-22 17:01:20 +0000
commitfa760cfb01223f333a8553566d845b7a462c459b (patch)
tree20c7093841e3bf7445fb2c628a4334bc3ead221a /packages/qemu/qemu-native_20070613.bb
parente398e9063c713cb73ea3cc19aecc8d9138d6acf9 (diff)
parent70e5cf9476598fdf441d22adfd166e3ee90ae4c8 (diff)
merge of '4ceb0ef60a086087bfe7a232b07d6fb71c3ccd04'
and 'eaf6fede3ee9af7cea4d430e426ee09da45e8f21'
Diffstat (limited to 'packages/qemu/qemu-native_20070613.bb')
-rw-r--r--packages/qemu/qemu-native_20070613.bb18
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/qemu/qemu-native_20070613.bb b/packages/qemu/qemu-native_20070613.bb
new file mode 100644
index 0000000000..03a433b232
--- /dev/null
+++ b/packages/qemu/qemu-native_20070613.bb
@@ -0,0 +1,18 @@
+require qemu_${PV}.bb
+inherit native
+DEPENDS = "zlib-native"
+prefix = "${STAGING_DIR}/${BUILD_SYS}"
+
+python __anonymous() {
+ from bb import which, data
+
+ path = data.getVar('PATH', d)
+ oeconf = data.getVar('EXTRA_OECONF', d) or ''
+ if len(which(path, 'gcc-3.4')) != 0:
+ data.setVar('EXTRA_OECONF', oeconf + " --cc=gcc-3.4", d)
+ elif len(which(path, 'gcc34')) != 0:
+ data.setVar('EXTRA_OECONF', oeconf + " --cc=gcc34", d)
+ elif len(which(path, 'gcc-3.3')) != 0:
+ data.setVar('EXTRA_OECONF', oeconf + " --cc=gcc-3.3", d)
+ #data.setVarFlag('PKG_CONFIG_PATH', 'unexport', '1', d)
+}