diff options
author | Paul Sokolovsky <pmiscml@gmail.com> | 2006-10-04 14:10:52 +0000 |
---|---|---|
committer | Paul Sokolovsky <pmiscml@gmail.com> | 2006-10-04 14:10:52 +0000 |
commit | 53c82a413260c6ece2d7081625bff017ab0e524f (patch) | |
tree | cca2d3069baff1d363f20e01bd109015cc4a409a /packages | |
parent | f4f7920d6131d1245436783139e3a77581d6264f (diff) |
qemu-native.inc: Do not overwrite EXTRA_OECONF, append to it.
Diffstat (limited to 'packages')
-rw-r--r-- | packages/qemu/qemu-native.inc | 6 |
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) } |