diff options
Diffstat (limited to 'recipes/qemu/qemu-gcc3-check.inc')
-rw-r--r-- | recipes/qemu/qemu-gcc3-check.inc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes/qemu/qemu-gcc3-check.inc b/recipes/qemu/qemu-gcc3-check.inc new file mode 100644 index 0000000000..81c3555b48 --- /dev/null +++ b/recipes/qemu/qemu-gcc3-check.inc @@ -0,0 +1,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) +} + |