diff --git a/.gitignore b/.gitignore index 2b7f628098..5639a5425e 100644 --- a/.gitignore +++ b/.gitignore @@ -23,6 +23,9 @@ mkpkg-temp /sources /.work +# ccache +/.ccache/ + # backup files *.orig diff --git a/config/path b/config/path index 7d160d4e1d..b64b5b64d1 100644 --- a/config/path +++ b/config/path @@ -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