Bug 11313 - As a developer, I want to avoid churn of cross,crosssdk,nativesdk,cross-canadian do_populate_sysroot
Summary: As a developer, I want to avoid churn of cross,crosssdk,nativesdk,cross-canad...
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 2.4
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.3 M4
Assignee: Ross Burton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-04-08 17:04 UTC by Ming Liu
Modified: 2017-04-13 16:01 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.