ccache: explicitly set CCACHE_DIR to the dir we want to use

Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
Matthias Reichl 2022-12-01 15:12:56 +01:00
parent 99d87d4142
commit eea2b116d5

View File

@ -17,7 +17,7 @@ PKG_CONFIGURE_OPTS_HOST="--with-bundled-zlib"
post_makeinstall_host() {
# setup ccache
if [ -z "${CCACHE_DISABLE}" ]; then
${TOOLCHAIN}/bin/ccache --max-size=${CCACHE_CACHE_SIZE}
CCACHE_DIR="${BUILD_CCACHE_DIR}" ${TOOLCHAIN}/bin/ccache --max-size=${CCACHE_CACHE_SIZE}
fi
cat > ${TOOLCHAIN}/bin/host-gcc <<EOF