Skip to content

Commit c2f5c02

Browse files
committed
build.sh: set ccache path based on ARCH
1 parent fefe430 commit c2f5c02

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ if [[ ! $hostarch =~ aarch64|armv ]];then
102102
fi
103103

104104
crosscompile=1
105+
export CCACHE_DIR="$HOME/.cache/ccache/${ARCH}"
106+
mkdir -p "${CCACHE_DIR}"
105107
fi;
106108

107109
#if [[ "$builddir" != "" && ! "$1" =~ ^(updatesrc|uenv|defconfig|dts.?|[u]?mount)$ ]];

0 commit comments

Comments
 (0)