[Buildroot] [PATCH] Don't disable dependency tracking if using <pkg>_OVERRIDE_SRCDIR.

Nicolas Cavallari Nicolas.Cavallari at green-communications.fr
Wed Feb 8 09:28:24 UTC 2017


On 07/02/2017 23:14, Romain Naour a écrit:
> Hi Ignacy,
> 
> Le 06/02/2017 à 20:37, Ignacy Gawędzki a écrit :
>> On Mon, Feb 06, 2017 at 07:39:00PM +0100, parla Romain Naour:
>>>
>>> You're likely working on the target variant, so probably you can let the
>>> dependency tracking enabled for the host?
>>
>> Dependency tracking was initially *disabled* for both target and host.
>> I suppose that <pkg>_OVERRIDE_SRCDIR works for both target and host,
>> so I don't see why we should leave it disabled for one and not the
>> other.
> 
> Indeed <pkg>_OVERRIDE_SRCDIR works for both target and host packages and the
> "dependency tracking" was disabled (see [1]) to reduce the build time.
> 
> My initial feeling is to allow to enable the "dependency tracking" only when
> doing active development on a *target* package using <pkg>_OVERRIDE_SRCDIR.
> Buildroot is unlikely used for active development on a *host* package.

Some hosts packages are a dependency of the target package, because
they are not very friendly to cross-compiling, so the host variant
compiles build tools used by the target variant.  Both should be in
sync when building.

So it make sense to enable dependency tracking for hosts packages
during active development for a target package.


More information about the buildroot mailing list