summaryrefslogtreecommitdiffstats
path: root/meta/packages/qemu/qemu-native_20070613.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/qemu/qemu-native_20070613.bb')
-rw-r--r--meta/packages/qemu/qemu-native_20070613.bb14
1 files changed, 1 insertions, 13 deletions
diff --git a/meta/packages/qemu/qemu-native_20070613.bb b/meta/packages/qemu/qemu-native_20070613.bb
index 03a433b232..a6a5bda58d 100644
--- a/meta/packages/qemu/qemu-native_20070613.bb
+++ b/meta/packages/qemu/qemu-native_20070613.bb
@@ -3,16 +3,4 @@ inherit native
3DEPENDS = "zlib-native" 3DEPENDS = "zlib-native"
4prefix = "${STAGING_DIR}/${BUILD_SYS}" 4prefix = "${STAGING_DIR}/${BUILD_SYS}"
5 5
6python __anonymous() { 6require qemu-gcc3-check.inc
7 from bb import which, data
8
9 path = data.getVar('PATH', d)
10 oeconf = data.getVar('EXTRA_OECONF', d) or ''
11 if len(which(path, 'gcc-3.4')) != 0:
12 data.setVar('EXTRA_OECONF', oeconf + " --cc=gcc-3.4", d)
13 elif len(which(path, 'gcc34')) != 0:
14 data.setVar('EXTRA_OECONF', oeconf + " --cc=gcc34", d)
15 elif len(which(path, 'gcc-3.3')) != 0:
16 data.setVar('EXTRA_OECONF', oeconf + " --cc=gcc-3.3", d)
17 #data.setVarFlag('PKG_CONFIG_PATH', 'unexport', '1', d)
18}