blob: 019af52c26564636fb8858c1e982760b5bac9ad5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
FILESPATH =. "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/qemu-${PV}:"
# prefix = "${STAGING_DIR}/${BUILD_SYS}"
DEPENDS = "libsdl-native"
python __anonymous() {
from bb import which, data
path = data.getVar('PATH', d)
oldOeConf = data.getVar('EXTRA_OECONF', d)
if not oldOeConf: oldOeConf = ""
if len(which(path, 'gcc-3.4')) != 0:
data.setVar('EXTRA_OECONF', oldOeConf + " --cc=gcc-3.4", d)
elif len(which(path, 'gcc-3.3')) != 0:
data.setVar('EXTRA_OECONF', oldOeConf + " --cc=gcc-3.3", d)
elif len(which(path, 'gcc-3.3.6')) != 0:
data.setVar('EXTRA_OECONF', oldOeConf + " --cc=gcc-3.3.6", d)
}
do_stage() {
find . -name "qemu-*" -type f -perm 0755 -exec install -m 0755 {} ${STAGING_BINDIR} \;
}
|