summaryrefslogtreecommitdiff
path: root/build-rpi3.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build-rpi3.sh')
-rwxr-xr-xbuild-rpi3.sh8
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"