From 7740963a5fa5ddcbcaf0900c3259de263cc561e9 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sat, 15 Dec 2007 15:56:05 +0000 Subject: base.bbclass: Unexport TARGET_ARCH, quilt (at least) is a victim. --- classes/base.bbclass | 6 ++++++ 1 file changed, 6 insertions(+) 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) -- cgit v1.2.3