summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2006-10-04 14:10:52 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2006-10-04 14:10:52 +0000
commit53c82a413260c6ece2d7081625bff017ab0e524f (patch)
treecca2d3069baff1d363f20e01bd109015cc4a409a
parentf4f7920d6131d1245436783139e3a77581d6264f (diff)
qemu-native.inc: Do not overwrite EXTRA_OECONF, append to it.
-rw-r--r--packages/qemu/qemu-native.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/qemu/qemu-native.inc b/packages/qemu/qemu-native.inc
index 049aa675f8..bab02f7ddf 100644
--- a/packages/qemu/qemu-native.inc
+++ b/packages/qemu/qemu-native.inc
@@ -5,9 +5,11 @@ 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', " --cc=gcc-3.4", d)
+ data.setVar('EXTRA_OECONF', oldOeConf + " --cc=gcc-3.4", d)
elif len(which(path, 'gcc-3.3')) != 0:
- data.setVar('EXTRA_OECONF', " --cc=gcc-3.3", d)
+ data.setVar('EXTRA_OECONF', oldOeConf + " --cc=gcc-3.3", d)
}