Bug 9339

Summary: eSDK doesn't build correctly if environment variables are used
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Richard Purdie <richard.purdie>
Component: coreAssignee: Paul Eggleton <bluelightning>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: meta.mr.watcher, meta.watcher
Version: 2.1   
Target Milestone: 2.1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Richard Purdie 2016-03-24 13:23:27 UTC
If I set:

MACHINE = "qemux86" in local.conf

but then run:

MACHINE=qemux86-64 bitbake core-image-sato -c populate_sdk_ext

I get an SDK which builds successfully but that has no matching sstate since the MACHINE definition on the SDK is incorrect.

At the very least we should detect this earlier, if not build the correct thing.