Bug 13128

Summary: nativesdk-icecc doesn't work for multilib SDKs
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Ross Burton <ross.burton>
Component: devtools / tool chainAssignee: Joshua Watt <JPEWhacker>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: meta.mr.watcher, meta.watcher, randy.macleod
Version: 2.7   
Target Milestone: 2.7 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Ross Burton 2019-01-08 11:32:09 UTC
I think nativesdk-icecc is broken for multilib SDKs.

icecc-env.sh uses TUNE_PKGARCH to name the configuration, but in a multilib SDK there are multiple configurations available.  The environment and setup scripts should probably just use TARGET_PREFIX which is exported by the environment scripts (e.g. mips64-poky-linux-gnun32-) as part of the naming, and handle the setup script being called for each environment.
Comment 1 Ross Burton 2019-01-10 15:32:08 UTC
Patches on the list
Comment 2 Joshua Watt 2019-02-21 20:37:55 UTC
Fixed in oe-core:13704d7a9d147382169d0c4bd77cb4f5577c65b1