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"
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"