Bug 9084 - devtool: Don't rebuild extracted external source that has not changed
Summary: devtool: Don't rebuild extracted external source that has not changed
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 2.1
Hardware: x86 Multiple
: Medium normal
Target Milestone: 2.1 M4
Assignee: Markus Lehtonen
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-02-09 15:47 UTC by Saul Wold
Modified: 2016-03-29 10:37 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: New (Never tested)
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Saul Wold 2016-02-09 15:47:54 UTC
Currently when using devtool to extract external source of some -native or -cross tools, they get rebuilt regardless of if their source has actually changed, this then causes a cascade of rebuilds of other tools that do not need to be rebuilt.

In my case I have extracted binutils-cross-i686 and this causes gcc, glibc, and others to be rebuilt everytime I try to build even if I have not changed the extracted binutils-cross source code.

I realize this is a hard problem due to knowing if the underlying source has actually changed or not.
Comment 1 Markus Lehtonen 2016-02-10 09:16:30 UTC
The patches I submitted for
https://bugzilla.yoctoproject.org/show_bug.cgi?id=8853
should fix this bug, too.
Comment 2 Markus Lehtonen 2016-03-22 06:36:51 UTC
Moving to 2.1 M4 along with #8853
Comment 3 Markus Lehtonen 2016-03-29 10:37:25 UTC
This should now be fixed by:
http://git.openembedded.org/openembedded-core/commit/?id=a26becdf981b35d7ef8524f9e65c25a74b842f1d

Please reopen if you still see issues