diff options
Diffstat (limited to 'classes/base.bbclass')
-rw-r--r-- | classes/base.bbclass | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass index f5aede6b8b..e1d0e8854a 100644 --- a/classes/base.bbclass +++ b/classes/base.bbclass @@ -706,6 +706,11 @@ def base_after_parse_two(d): def base_after_parse(d): import bb, os + + # Make sure MACHINE *isn't* exported + bb.data.delVarFlag('MACHINE', 'export', d) + bb.data.setVarFlag('MACHINE', 'unexport', 1, d) + mach_arch = bb.data.getVar('MACHINE_ARCH', d, 1) old_arch = bb.data.getVar('PACKAGE_ARCH', d, 1) if (old_arch == mach_arch): |