Add build script for ARM kernel of rpi3.
Change-Id: I35a7dd2148350f775d3d96a478dac66190079d68
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
--- /dev/null
+#!/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