summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2007-12-15 16:00:43 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2007-12-15 16:00:43 +0000
commitd49459630828716adb5130ebba02cc95fbae8e44 (patch)
tree9bbf9b314f85cb70007740b0dacd66cc0b395266
parenta65b2bc544e391c5b34b10925ad7843039e87f16 (diff)
parent7740963a5fa5ddcbcaf0900c3259de263cc561e9 (diff)
merge of '6a6524b2edba4ee2d273bc4114c24767b9e78a8e'
and 'a936edc2be00c83e35e647a91a0923ea2e0ee3ce'
-rw-r--r--classes/base.bbclass6
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)