projects
/
kernel
/
u-boot.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[S5PC100] Add Basic header
[kernel/u-boot.git]
/
build.sh
1
#!/bin/sh -x
2
3
# Set default cross compiler
4
CROSS_COMPILER=/opt/toolchains/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 $*