[Buildroot] ccache dependency issues
thomas.petazzoni at free-electrons.com
Thu Aug 1 12:07:06 UTC 2013
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/
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
More information about the buildroot