summaryrefslogtreecommitdiff
path: root/packages/qemu/qemu-native.inc
blob: 049aa675f88066b9dab5bfe5f56fba2d4f9b0f90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
FILESPATH =. "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/qemu-${PV}:"
prefix = "${STAGING_DIR}/${BUILD_SYS}"

python __anonymous() {
    from bb import which, data
	
    path = data.getVar('PATH', d)
    if len(which(path, 'gcc-3.4')) != 0:
        data.setVar('EXTRA_OECONF', " --cc=gcc-3.4", d)
    elif len(which(path, 'gcc-3.3')) != 0:
        data.setVar('EXTRA_OECONF', " --cc=gcc-3.3", d)

}