libreelec: use separate ccache location [project+arch+major_version]

This commit is contained in:
zalaare 2016-06-08 16:28:19 +00:00
parent 15d32f0194
commit dfa9d4a4cb
2 changed files with 4 additions and 1 deletions

3
.gitignore vendored
View File

@ -23,6 +23,9 @@ mkpkg-temp
/sources
/.work
# ccache
/.ccache/
# backup files
*.orig

View File

@ -239,7 +239,7 @@ HOST_PKG_CONFIG_LIBDIR="$ROOT/$TOOLCHAIN/lib/pkgconfig:$ROOT/$TOOLCHAIN/share/pk
HOST_PKG_CONFIG_SYSROOT_DIR=""
if [ -z "$CCACHE_DIR" ]; then
export CCACHE_DIR=$HOME/.ccache-libreelec
export CCACHE_DIR=$ROOT/.ccache/$PROJECT.$TARGET_ARCH-$OS_VERSION
fi
export MAKEFLAGS=-j$CONCURRENCY_MAKE_LEVEL
export PKG_CONFIG=$ROOT/$TOOLCHAIN/bin/pkg-config