summaryrefslogtreecommitdiffstats
path: root/meta/packages/qemu/qemu-native_cvs.bb
blob: 83d599771cca101cb0029cf4f50f065e8a20de92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require qemu_cvs.bb
inherit native
DEPENDS = "zlib-native"
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, 'gcc34')) != 0:
        data.setVar('EXTRA_OECONF', " --cc=gcc34", d)
    elif len(which(path, 'gcc-3.3')) != 0:
        data.setVar('EXTRA_OECONF', " --cc=gcc-3.3", d)
}