ARM: configs: tizen_bcm2709_defconfig: Enable BCM Uart protocol
[platform/kernel/linux-rpi.git] / build-rpi3-arm32.sh
1 #!/bin/bash
2
3 # Check this system has ccache
4 check_ccache()
5 {
6         type ccache
7         if [ "$?" -eq "0" ]; then
8                 CCACHE=ccache
9         fi
10 }
11
12 check_ccache
13
14 rm -f arch/arm/boot/zImage
15 rm -f arch/arm/boot/dts/*.dtb
16
17 if ! [ -e .config ] ; then
18         make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- tizen_bcm2709_defconfig
19 fi
20
21 make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- -j8
22
23 if [ ! -f "./arch/arm/boot/zImage" ]; then
24         echo "Build fail"
25         exit 1
26 fi