diff options
author | Łukasz Stelmach <l.stelmach@samsung.com> | 2021-03-26 15:19:20 +0100 |
---|---|---|
committer | Łukasz Stelmach <l.stelmach@samsung.com> | 2021-03-31 08:05:09 +0200 |
commit | 318b9b3058fd83c7ae4a9d8b3d40bb7c4313fd3e (patch) | |
tree | efc42c44e680bcfacb9d71c3c3df382c02d2bb2d | |
parent | dcfe25ec0836686a1e7101baa03ec20976cc3488 (diff) | |
download | linux-rpi3-318b9b3058fd83c7ae4a9d8b3d40bb7c4313fd3e.tar.gz linux-rpi3-318b9b3058fd83c7ae4a9d8b3d40bb7c4313fd3e.tar.bz2 linux-rpi3-318b9b3058fd83c7ae4a9d8b3d40bb7c4313fd3e.zip |
script: adjust ccache support
Change-Id: Ia37a450bccf93ddf3daaca442be4d221df0d4036
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
-rwxr-xr-x | build-rpi3.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/build-rpi3.sh b/build-rpi3.sh index 40d7c1d5e44f..f68baac6712b 100755 --- a/build-rpi3.sh +++ b/build-rpi3.sh @@ -30,10 +30,10 @@ if [ $1 = "arm" ]; then CROSS_COMPILER=arm-linux-gnueabi- if ! [ -e .config ] ; then - make ARCH=arm CROSS_COMPILE="$CROSS_COMPILER" tizen_bcm2709_defconfig + make ARCH=arm CROSS_COMPILE="${CCACHE} ${CROSS_COMPILER}" tizen_bcm2709_defconfig fi - make ARCH=arm CROSS_COMPILE="$CROSS_COMPILER" -j $NCPUS + make ARCH=arm CROSS_COMPILE="${CCACHE} ${CROSS_COMPILER}" -j $NCPUS if [ ! -f "./arch/arm/boot/zImage" ]; then echo "Build fail" @@ -48,10 +48,10 @@ elif [ $1 = "arm64" ]; then CROSS_COMPILER=aarch64-linux-gnu- if ! [ -e .config ] ; then - make ARCH=arm64 CROSS_COMPILE="$CROSS_COMPILER" tizen_bcmrpi3_defconfig + make ARCH=arm64 CROSS_COMPILE="${CCACHE} ${CROSS_COMPILER}" tizen_bcmrpi3_defconfig fi - make ARCH=arm64 CROSS_COMPILE="$CROSS_COMPILER" -j $NCPUS + make ARCH=arm64 CROSS_COMPILE="${CCACHE} ${CROSS_COMPILER}" -j $NCPUS if [ ! -f "./arch/arm64/boot/Image" ]; then echo "Build fail" |