summaryrefslogtreecommitdiff
path: root/recipes/qemu/qemu-gcc3-check.inc
blob: c55444acdd75dfae5140fd50b5adfe00773b89e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
inherit qemu

python __anonymous() {
    from bb import which, data

    path = data.getVar('PATH', d, 1)
    oldOeConf = data.getVar('EXTRA_OECONF', d, 1)
    if not oldOeConf: oldOeConf = ""
    gcc3 = check_gcc3(d)
    if gcc3:
	data.setVar('EXTRA_OECONF', oldOeConf + " --cc=" + gcc3, d)
}