diff options
author | Łukasz Stelmach <l.stelmach@samsung.com> | 2020-12-21 13:46:37 +0100 |
---|---|---|
committer | Seung-Woo Kim <sw0312.kim@samsung.com> | 2021-01-14 15:03:18 +0900 |
commit | 721b475241b7807e4b0950900a369eb39cc43604 (patch) | |
tree | dafb0233eaf8adf652372d82880ced763248328d | |
parent | 89ebbe24dd8932ec1cee8470111da17c90a3b520 (diff) | |
download | linux-rpi-721b475241b7807e4b0950900a369eb39cc43604.tar.gz linux-rpi-721b475241b7807e4b0950900a369eb39cc43604.tar.bz2 linux-rpi-721b475241b7807e4b0950900a369eb39cc43604.zip |
script: adjust ccache support
Change-Id: I735295fc21cf7caa29b84548a8f21449ed97800e
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
-rwxr-xr-x | build-rpi4.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/build-rpi4.sh b/build-rpi4.sh index 7c2930d64cda..30af5c5f8ba0 100755 --- a/build-rpi4.sh +++ b/build-rpi4.sh @@ -28,10 +28,10 @@ if [ $1 = "arm" ]; then rm -f arch/arm/boot/dts/*.dtb if ! [ -e .config ] ; then - make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- tizen_bcm2711_defconfig + make ARCH=arm CROSS_COMPILE="${CCACHE} arm-linux-gnueabi-" tizen_bcm2711_defconfig fi - make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- -j $NCPUS + make ARCH=arm CROSS_COMPILE="${CCACHE} arm-linux-gnueabi-" -j $NCPUS if [ ! -f "./arch/arm/boot/zImage" ]; then echo "Build fail" @@ -44,9 +44,9 @@ elif [ $1 = "arm64" ]; then rm -f arch/arm64/boot/dts/broadcom/*.dtb if ! [ -e .config ] ; then - make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- tizen_bcm2711_defconfig + make ARCH=arm64 CROSS_COMPILE="${CCACHE} aarch64-linux-gnu-" tizen_bcm2711_defconfig fi - make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j $NCPUS + make ARCH=arm64 CROSS_COMPILE="${CCACHE} aarch64-linux-gnu-" -j $NCPUS if [ ! -f "./arch/arm64/boot/Image" ]; then echo "Build fail" exit 1 |