From 9c5386c1fd74d832cf6e2acad3c69b1cc90de6b2 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 19 Mar 2010 23:12:06 +0000 Subject: base.bbclass: Split up as per the patch in OE.dev by Chris Larson making code more readable and modularised Signed-off-by: Richard Purdie --- meta/conf/bitbake.conf | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'meta/conf') diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 1341349c4a..1745688fa8 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -676,3 +676,18 @@ COMBINED_FEATURES = "\ ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "usbgadget", d)} \ ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "usbhost", d)} \ ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "wifi", d)}" + + +# Make sure MACHINE isn't exported +# (breaks binutils at least) +MACHINE[unexport] = "1" + +# Make sure TARGET_ARCH isn't exported +# (breaks Makefiles using implicit rules, e.g. quilt, as GNU make has this +# in them, undocumented) +TARGET_ARCH[unexport] = "1" + +# Make sure DISTRO isn't exported +# (breaks sysvinit at least) +DISTRO[unexport] = "1" + -- cgit v1.2.3