summaryrefslogtreecommitdiffstats
path: root/meta/packages
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-01-03 14:07:44 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2008-01-03 14:07:44 +0000
commit66ff85a04873f307baeed7c0d2c92e195bda4b96 (patch)
treee1dc793e40122d4ce5a947956fc44be89f2980d8 /meta/packages
parent67eaa28a3d2bebb2e5f1d46244db248afd3545e7 (diff)
downloadpoky-66ff85a04873f307baeed7c0d2c92e195bda4b96.tar.gz
base and sanity bbclasses + qemu: move gcc3 availability checking into base.bbclass
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3402 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/qemu/qemu-gcc3-check.inc17
1 files changed, 3 insertions, 14 deletions
diff --git a/meta/packages/qemu/qemu-gcc3-check.inc b/meta/packages/qemu/qemu-gcc3-check.inc
index 658e72ffc3..81c3555b48 100644
--- a/meta/packages/qemu/qemu-gcc3-check.inc
+++ b/meta/packages/qemu/qemu-gcc3-check.inc
@@ -4,19 +4,8 @@ python __anonymous() {
4 path = data.getVar('PATH', d, 1) 4 path = data.getVar('PATH', d, 1)
5 oldOeConf = data.getVar('EXTRA_OECONF', d, 1) 5 oldOeConf = data.getVar('EXTRA_OECONF', d, 1)
6 if not oldOeConf: oldOeConf = "" 6 if not oldOeConf: oldOeConf = ""
7 if len(which(path, 'gcc-3.4.4')) != 0: 7 gcc3 = check_gcc3(d)
8 data.setVar('EXTRA_OECONF', oldOeConf + " --cc=gcc-3.4.4", d) 8 if gcc3:
9 elif len(which(path, 'gcc-3.4')) != 0: 9 data.setVar('EXTRA_OECONF', oldOeConf + " --cc=" + gcc3, d)
10 data.setVar('EXTRA_OECONF', oldOeConf + " --cc=gcc-3.4", d)
11 elif len(which(path, 'gcc34')) != 0:
12 data.setVar('EXTRA_OECONF', oldOeConf + " --cc=gcc34", d)
13 elif len(which(path, 'gcc33')) != 0:
14 data.setVar('EXTRA_OECONF', oldOeConf + " --cc=gcc33", d)
15 elif len(which(path, 'gcc-3.3')) != 0:
16 data.setVar('EXTRA_OECONF', oldOeConf + " --cc=gcc-3.3", d)
17 elif len(which(path, 'gcc-3.3.6')) != 0:
18 data.setVar('EXTRA_OECONF', oldOeConf + " --cc=gcc-3.3.6", d)
19 elif len(which(path, 'gcc-3.4.6')) != 0:
20 data.setVar('EXTRA_OECONF', oldOeConf + " --cc=gcc-3.4.6", d)
21} 10}
22 11