#!/bin/bash # Check this system has ccache check_ccache() { type ccache if [ "$?" -eq "0" ]; then CCACHE=ccache fi } check_ccache rm -f arch/arm/boot/zImage rm -f arch/arm/boot/dts/*.dtb if ! [ -e .config ] ; then make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- tizen_bcm2709_defconfig fi make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- -j8 if [ ! -f "./arch/arm/boot/zImage" ]; then echo "Build fail" exit 1 fi