diff options
author | Paul Sokolovsky <pmiscml@gmail.com> | 2007-12-15 15:56:05 +0000 |
---|---|---|
committer | Paul Sokolovsky <pmiscml@gmail.com> | 2007-12-15 15:56:05 +0000 |
commit | 7740963a5fa5ddcbcaf0900c3259de263cc561e9 (patch) | |
tree | 441348df760c7833466fda14b0707f274cdb1632 | |
parent | c415ee0b42783845087f27f2c8c003ca34d65ca5 (diff) |
base.bbclass: Unexport TARGET_ARCH, quilt (at least) is a victim.
-rw-r--r-- | classes/base.bbclass | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass index 7526dff65e..2b508a8e84 100644 --- a/classes/base.bbclass +++ b/classes/base.bbclass @@ -848,6 +848,12 @@ def base_after_parse(d): bb.data.delVarFlag('MACHINE', 'export', d) bb.data.setVarFlag('MACHINE', 'unexport', 1, d) + # Make sure TARGET_ARCH isn't exported + # (breaks Makefiles using implicit rules, e.g. quilt, as GNU make has this + # in them, undocumented) + bb.data.delVarFlag('TARGET_ARCH', 'export', d) + bb.data.setVarFlag('TARGET_ARCH', 'unexport', 1, d) + # Make sure DISTRO isn't exported # (breaks sysvinit at least) bb.data.delVarFlag('DISTRO', 'export', d) |