From 84a3b541b14fb54cb19d5144bc5be156b7f87721 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Wed, 22 Aug 2007 16:58:07 +0000 Subject: qemu: added 20070613 version from Poky - this works on 32 and 64 bit machines --- packages/qemu/qemu-native_20070613.bb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 packages/qemu/qemu-native_20070613.bb (limited to 'packages/qemu/qemu-native_20070613.bb') 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) +} -- cgit v1.2.3