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

Thomas De Schampheleire patrickdepinguin+buildroot at gmail.com
Sat Oct 29 07:59:16 UTC 2011


On Sat, Oct 29, 2011 at 8:54 AM, Peter Korsgaard <jacmet at uclibc.org> wrote:
>>>>>> "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.

In that case, you could move the dependency to
toolchain/dependencies/dependencies.mk.

Best regards,
Thomas


More information about the buildroot mailing list