[Buildroot] [PATCH] Depend autotools targets on host-ccache when BR2_CCACHE is enabled.

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun May 26 17:48:13 UTC 2013


Dear Samuel Martin,

On Sun, 26 May 2013 19:44:33 +0200, Samuel Martin wrote:

> In these cases, I rather suggest to build either a whole "small"
> config, or at least the toolchain
> before tweaking anything (packages, kernel or bootloader).
> 
> Note that if we want to allow this use case, it may require adding BASE_TARGETS
> to all *-menuconfig and packages' targets.
> 
> I think we don't want to go this way.

Being able to do "make linux-menuconfig" right after "make menuconfig"
is a quite important use case, IMO. We should support that I believe.

linux-menuconfig already depends on "dirs" so that it can work properly
when ran after "make menuconfig" (when ccache is not enabled). But I
see that it also depends on linux-configure. Maybe we just need to make
the *-extract of all packages depend on $(BASE_TARGETS) or something
like that?

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com


More information about the buildroot mailing list