mirror of
https://git.yoctoproject.org/poky
synced 2026-09-14 21:49:33 +02:00
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
This commit is contained in:
@@ -708,6 +708,10 @@ def base_after_parse_two(d):
|
|||||||
|
|
||||||
def base_after_parse(d):
|
def base_after_parse(d):
|
||||||
import bb, os
|
import bb, os
|
||||||
|
|
||||||
|
# Make sure MACHINE *isn't* exported
|
||||||
|
bb.data.delVarFlag('MACHINE', 'export', d)
|
||||||
|
|
||||||
mach_arch = bb.data.getVar('MACHINE_ARCH', d, 1)
|
mach_arch = bb.data.getVar('MACHINE_ARCH', d, 1)
|
||||||
old_arch = bb.data.getVar('PACKAGE_ARCH', d, 1)
|
old_arch = bb.data.getVar('PACKAGE_ARCH', d, 1)
|
||||||
if (old_arch == mach_arch):
|
if (old_arch == mach_arch):
|
||||||
|
|||||||
Reference in New Issue
Block a user