[Buildroot] ccache dependency issues
Thomas De Schampheleire
patrickdepinguin+buildroot at gmail.com
Thu Aug 1 12:51:32 UTC 2013
On Thu, Aug 1, 2013 at 2:07 PM, Thomas Petazzoni
<thomas.petazzoni at free-electrons.com> wrote:
> Dear Thomas De Schampheleire,
> On Thu, 1 Aug 2013 14:03:12 +0200, Thomas De Schampheleire wrote:
>> > So the dependencies such as host-tar and host-xzcat are always pulled
>> > before host-sstrip and host-ccache, so we should be all set. For sure,
>> > this is the case because we don't do top-level parallel build, but
>> > there are already many places in Buildroot that rely on ordering of
>> > dependencies.
>> You're right, this order is fine.
>> But the solution of moving host-ccache to dependencies seems so
>> surprisingly simple... I wonder why no-one thought of it before,
>> surely we are missing something?
> I think a lot of the things with those "main" targets in the main
> Makefile and the BASE_TARGETS, TARGETS variables and so on is just a
> big mess that no one ever cleaned up and clarified with good rules
> about what each variable is.
> That's why I've NAKed additional 'hacks' such as
> http://patchwork.ozlabs.org/patch/257372/ in the past. BTW, I think
> moving ccache into the dependencies will avoid the need for this patch
> 257372, and then we can apply http://patchwork.ozlabs.org/patch/257374/
> and http://patchwork.ozlabs.org/patch/257375/.
Ok, sounds good.
I'll try to create a patch soon, or if you want to do it that's fine
by me as well.
More information about the buildroot