mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
config/path: add support for build-host local ccache directory settings
Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
parent
88b3ca8f7e
commit
99d87d4142
@ -70,6 +70,14 @@ if [ -z "$CCACHE_DIR" ]; then
|
||||
export CCACHE_DIR=$BUILD/.ccache
|
||||
fi
|
||||
|
||||
# keep a copy of ccache dir used for toolchain ccache
|
||||
export BUILD_CCACHE_DIR="${CCACHE_DIR}"
|
||||
|
||||
# local ccache dir in case we build early packages with local ccache
|
||||
if [ -z "${LOCAL_CCACHE_DIR}" ]; then
|
||||
export LOCAL_CCACHE_DIR="${BUILD}/.ccache-local"
|
||||
fi
|
||||
|
||||
if [[ -z "$PATH" || ( "$PATH" != "$TOOLCHAIN/bin:$TOOLCHAIN/sbin" && "$PATH" = "${PATH#$TOOLCHAIN/bin:$TOOLCHAIN/sbin:}" ) ]]; then
|
||||
export PATH="$TOOLCHAIN/bin:$TOOLCHAIN/sbin${PATH:+":$PATH"}"
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user