summaryrefslogtreecommitdiff
path: root/packages/qemu
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2007-12-30 20:39:16 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2007-12-30 20:39:16 +0000
commit27bf4e40e7761692d31dbdd8fca46a0a7bed2c50 (patch)
tree11327b389af57ac1b8fbb2eb12b11823d7de833b /packages/qemu
parent992f2a1f77cf17dc047582e8d4cace033063b7d7 (diff)
parent22a748afe0ab98982ba2bdb09343ccf1b2d58e3f (diff)
merge of '66515f98e31cf98acf25d9bfff293b724c9f4ee9'
and '80fc38ee9d6f114931833ab38ed2ca078ea5e043'
Diffstat (limited to 'packages/qemu')
-rw-r--r--packages/qemu/qemu-gcc3-check.inc8
1 files changed, 5 insertions, 3 deletions
diff --git a/packages/qemu/qemu-gcc3-check.inc b/packages/qemu/qemu-gcc3-check.inc
index 96b79fdf14..658e72ffc3 100644
--- a/packages/qemu/qemu-gcc3-check.inc
+++ b/packages/qemu/qemu-gcc3-check.inc
@@ -1,10 +1,12 @@
python __anonymous() {
from bb import which, data
- path = data.getVar('PATH', d)
- oldOeConf = data.getVar('EXTRA_OECONF', d)
+ path = data.getVar('PATH', d, 1)
+ oldOeConf = data.getVar('EXTRA_OECONF', d, 1)
if not oldOeConf: oldOeConf = ""
- if len(which(path, 'gcc-3.4')) != 0:
+ if len(which(path, 'gcc-3.4.4')) != 0:
+ data.setVar('EXTRA_OECONF', oldOeConf + " --cc=gcc-3.4.4", d)
+ elif len(which(path, 'gcc-3.4')) != 0:
data.setVar('EXTRA_OECONF', oldOeConf + " --cc=gcc-3.4", d)
elif len(which(path, 'gcc34')) != 0:
data.setVar('EXTRA_OECONF', oldOeConf + " --cc=gcc34", d)