3 # Set default cross compiler
4 CROSS_COMPILER=/opt/toolchains/arm-2008q3/bin/arm-none-linux-gnueabi-
6 # Check this system has ccache
10 if [ "$?" -eq "0" ]; then
18 if [ "$USER" = "kmpark" ]; then
19 CROSS_COMPILER=/pub/toolchains/gcc-4.3.2/bin/arm-none-linux-gnueabi-
22 if [ "$USER" = "dofmind" ]; then
23 CROSS_COMPILER=/opt/toolchains/arm-2008q3/bin/arm-none-linux-gnueabi-
26 if [ "$USER" = "prom" ]; then
27 CROSS_COMPILER=/opt/toolchains/arm-2008q3/bin/arm-none-linux-gnueabi-
30 if [ "$USER" = "jaehoon" ]; then
31 CROSS_COMPILER=/usr/local/arm/arm-2008q3/bin/arm-none-linux-gnueabi-
38 make ARCH=arm CROSS_COMPILE="$CCACHE $CROSS_COMPILER" $JOBS $*
43 cat onenand_ipl/onenand-ipl-16k-1.bin u-boot.bin > u-boot-onenand1.bin
53 size=`ls -al u-boot-onenand.bin | awk -F' ' '{printf $5}'`
54 if [ "$size" -ge "262144" ]; then
55 echo "u-boot-onenand.bin execced the 256KiB 262144 -> $size"
59 if [ "$USER" = "kmpark" ]; then
60 cp -f u-boot.bin u-boot-onenand.bin /tftpboot
61 ls -al u-boot.bin u-boot-onenand.bin
66 elif [ "$USER" = "dofmind" ]; then
67 tar cvf system_uboot.tar u-boot-onenand.bin
68 mv -f system_uboot.tar /home/work
69 elif [ "$USER" = "prom" ]; then
70 tar cvf system_uboot.tar u-boot-onenand.bin
71 mv -f system_uboot.tar /home/share/Work/bin