kumquat-buildroot/toolchain
Arnout Vandecappelle 1e97b27873 ccache: support changing the output directory
When building in a different output directory than the original build,
there will currently be a lot of ccache misses because in many cases
there is some -I/... absolute path in the compilation. Ccache has an
option CCACHE_BASEDIR to substitute absolute paths with relative paths,
so they wil be the same in the hash (and in the output).

Since there are some disadvantages to this path rewriting, it is made
optional as BR2_CCACHE_USE_BASEDIR. It defaults to y because the
usefulness of ccache is severely reduced without this option.

In addition to CCACHE_BASEDIR, we also substitute away the occurences
of $(HOST_DIR) in the calculation of the compiler hash. This is done
regardless of the setting of BR2_CCACHE_USE_BASEDIR because it's
quite harmless.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-10-04 18:22:21 +02:00
..
toolchain toolchain/toolchain-buildroot: migrate to virtual package infrastructure 2014-06-14 19:10:13 +02:00
toolchain-buildroot aarch64: add big endian(aarch64_be) support 2015-07-12 18:32:37 +02:00
toolchain-external toolchain-external: move wrapper to toolchain directory 2015-10-04 18:22:19 +02:00
Config.in toolchain: make IPv6 mandatory for external toolchains 2015-04-22 22:59:31 +02:00
helpers.mk toolchain: Fix glibc breakage 2015-10-04 13:59:46 +02:00
toolchain-common.in toolchain: add 4.2.x choice for headers 2015-09-01 10:05:20 +02:00
toolchain-wrapper.c ccache: support changing the output directory 2015-10-04 18:22:21 +02:00
toolchain-wrapper.mk ccache: support changing the output directory 2015-10-04 18:22:21 +02:00
toolchain.mk toolchain: fix installing gconv libs with multi-arch toolchain 2015-04-22 22:30:34 +02:00