[S5PC100] added files related to s5pc100.
[kernel/u-boot.git] / build.sh
1 #!/bin/sh -x
2
3 # Set default cross compiler
4 CROSS_COMPILER=/usr/local/arm/arm-2007q3/bin/arm-none-linux-gnueabi-
5
6 # Check this system has ccache
7 check_ccache()
8 {
9         type ccache
10         if [ "$?" -eq "0" ]; then
11                 CCACHE=ccache
12         fi
13 }
14
15 build_uboot()
16 {
17         make ARCH=arm CROSS_COMPILE="$CCACHE $CROSS_COMPILER" $JOBS $* -j 4
18 }
19
20 check_ccache
21
22 build_uboot $*