[Buildroot] [PATCH v2] ccache: allow dynamic selection of cache directory

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue May 15 18:57:32 UTC 2012


Le Tue, 15 May 2012 20:49:35 +0200,
Thomas De Schampheleire <patrickdepinguin+buildroot at gmail.com> a écrit :

> > Euh? Why wouldn't we use CCACHE_DIR directly? What's the need of
> > renaming this environment variable here?
> 
> Because CCACHE_DIR is already used by gentargets/autotargets...

Where?

$ git grep CCACHE_DIR | cat
package/ccache/ccache.mk:define HOST_CCACHE_FIX_CCACHE_DIR
package/ccache/ccache.mk:	sed -i 's,getenv("CCACHE_DIR"),"$(CCACHE_CACHE_DIR)",' $(@D)/ccache.c
package/ccache/ccache.mk:	HOST_CCACHE_FIX_CCACHE_DIR

Regards,

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