4 echo "Usage : $0 <architecture>"
5 echo " architecture : arm or arm64"
10 # Check this system has ccache
14 if [ "$?" -eq "0" ]; then
21 if [ $1 = "arm" ]; then
24 rm -f arch/arm/boot/zImage
25 rm -f arch/arm/boot/dts/*.dtb
27 if ! [ -e .config ] ; then
28 make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- tizen_bcm2711_defconfig
31 make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- -j8
33 if [ ! -f "./arch/arm/boot/zImage" ]; then
37 elif [ $1 = "arm64" ]; then
40 rm -f arch/arm64/boot/Image
41 rm -f arch/arm64/boot/dts/broadcom/*.dtb
43 if ! [ -e .config ] ; then
44 make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- tizen_bcm2711_defconfig
46 make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j8
47 if [ ! -f "./arch/arm64/boot/Image" ]; then
53 scripts/mkbootimg_rpi4.sh