3 oedir
=/u
/moko
/build
/tmp
4 export CROSS_COMPILE
=${oedir}/cross
/bin
/arm-angstrom-linux-gnueabi-
6 make ARCH
=arm silentoldconfig
9 HEAD
=`git show --pretty=oneline | head -n1 | cut -d' ' -f1 | cut -b1-8`
10 BRANCH
=`git branch | grep ^\* | cut -d' ' -f2`
11 export HOSTNAME_OVERRIDE
=mw-g
${HEAD}_
${BRANCH}
14 if make -j3 ARCH
=arm
; then
15 ${CROSS_COMPILE}objcopy
-O binary
-R .note
-R .comment
-S arch
/arm
/boot
/compressed
/vmlinux linux.bin
16 ${oedir}/staging
/i686-linux
/usr
/bin
/mkimage
-A arm
-O linux
-T kernel
-C none
-a 30008000 -e 30008000 -n "Openmoko Freerunner Kernel" -d linux.bin uImage.bin