Bug 11313

Summary: As a developer, I want to avoid churn of cross,crosssdk,nativesdk,cross-canadian do_populate_sysroot
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Ming Liu <liu.ming50>
Component: coreAssignee: Ross Burton <ross.burton>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: meta.mr.watcher, meta.watcher
Version: 2.4   
Target Milestone: 2.3 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Ming Liu 2017-04-08 17:04:10 UTC
A lot of churn was observed when multiple MACHINEs are sharing a identical build directory, when these MACHINEs are defining different TARGET_* variables (TARGET_CFLAGS, TARGET_CPPFLAGS, TARGET_CXXFLAGS, TARGET_LDFLAGS).

How to reproduce:

1 Create two IMX51 machine conf file.
2 Define different TARGET_* flags in them.
3 Let them share a identical build directory.
4 run bitbake core-image-minimal

You will see the binutils-cross-arm, gcc-cross-arm-* will rebuild every time when you switch the machine and build.
Comment 2 Ross Burton 2017-04-13 16:01:20 UTC
Fixed in oe-core 767335c92b7cc657a008722a908380a3c89c3c66.