[Buildroot] [git commit] crosstool-ng: fix ccache dependencies order

Peter Korsgaard jacmet at uclibc.org
Sat Oct 29 06:54:18 UTC 2011


>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:

 Thomas> Le Fri, 28 Oct 2011 14:41:26 +0200,
 Thomas> Peter Korsgaard <jacmet at sunsite.dk> a écrit :

 >> avoid gawk complaining

 Thomas> about what ?

Not finding host-ccache as it isn't built yet.

 >> when running 'make ctng-menuconfig' in a
 >> clean/distclean tree in which ccache and crosstool-ng are enabled

 Thomas> This sounds like a workaround. The ordering of dependencies inside a
 Thomas> _DEPENDENCIES variable shouldn't matter. Isn't it a missing dependency
 Thomas> somewhere else ?

Well, yes - but host-ccache is special as it needs to be built before
anything else. I don't think it makes sense to add a bunch of

ifeq ($(BR2_CCACHE),y)
FOO_DEPENDENCIES += host-ccache
endif

to the packages.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list