summaryrefslogtreecommitdiffstats
path: root/meta/packages/qemu/qemu-gcc3-check.inc
blob: 81c3555b4854750015695eb541aca91130d92b35 (plain)
1
2
3
4
5
6
7
8
9
10
11
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)
}