summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-11-23 17:51:39 +0000
committerRichard Purdie <richard@openedhand.com>2006-11-23 17:51:39 +0000
commite4bb4ba86be48108552e8aa8895e1dac25a6770a (patch)
treea2380475cb886e68e90b53c51a3531d1900cb5fd /meta
parent436d6560f1338d6d95f06bc0c3d0f9d0a66c7ebd (diff)
downloadpoky-e4bb4ba86be48108552e8aa8895e1dac25a6770a.tar.gz
base.bbclass: Make sure MACHINE isn't exported fixing failures in binutils when MACHINE is an envirionmental variable
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@951 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/base.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 2d13f43788..069d5febaa 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -708,6 +708,10 @@ def base_after_parse_two(d):
708 708
709def base_after_parse(d): 709def base_after_parse(d):
710 import bb, os 710 import bb, os
711
712 # Make sure MACHINE *isn't* exported
713 bb.data.delVarFlag('MACHINE', 'export', d)
714
711 mach_arch = bb.data.getVar('MACHINE_ARCH', d, 1) 715 mach_arch = bb.data.getVar('MACHINE_ARCH', d, 1)
712 old_arch = bb.data.getVar('PACKAGE_ARCH', d, 1) 716 old_arch = bb.data.getVar('PACKAGE_ARCH', d, 1)
713 if (old_arch == mach_arch): 717 if (old_arch == mach_arch):