From dfa9d4a4cb7fc9a560f214cedc8b75d13778f67f Mon Sep 17 00:00:00 2001 From: zalaare Date: Wed, 8 Jun 2016 16:28:19 +0000 Subject: [PATCH] libreelec: use separate ccache location [project+arch+major_version] --- .gitignore | 3 +++ config/path | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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