blob: 15b93917a6cc5f0c8f79b767b6895ace2d0b39e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#!/bin/bash
# Check this system has ccache
check_ccache()
{
type ccache
if [ "$?" -eq "0" ]; then
CCACHE=ccache
fi
}
check_ccache
rm -f arch/arm64/boot/Image
rm -f arch/arm64/boot/dts/broadcom/*.dtb
if ! [ -e .config ] ; then
make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- tizen_bcmrpi3_defconfig
fi
make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j8
make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- dtbs
if [ ! -f "./arch/arm64/boot/Image" ]; then
echo "Build fail"
exit 1
fi
make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- modules_prepare -j8
make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- modules -j8
|