[Buildroot] [PATCH 1/3] ccache: change compilercheck to use compiler and toolchain info

Peter Korsgaard jacmet at uclibc.org
Thu Nov 28 22:20:35 UTC 2013

>>>>> "Arnout" == Arnout Vandecappelle <arnout at mind.be> writes:


[Nice overview snipped]

 >  One more option is to always generate a wrapper, also for the
 > internal toolchain. That one can set CCACHE_EXTRAFILES to a file that
 > contains the toolchain options, and set CCACHE_COMPILERCHECK to
 > none. The external toolchain wrapper could similarly be extended to
 > call ccache instead of the compiler - and then it can just use
 > mtime. And for the host compiler nothing needs to be done, it can just
 > default to mtime.

I'm starting to think this is the best approach, yes.

Bye, Peter Korsgaard

More information about the buildroot mailing list