aboutsummaryrefslogtreecommitdiff
path: root/build
blob: 8c78e8da4039026da67759cdd8348b8c5eba224f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -x

export CROSS_COMPILE=../../cross/bin/arm-angstrom-linux-gnueabi-
make ARCH=arm silentoldconfig
if make -j5 ARCH=arm  CONFIG_DEBUG_SECTION_MISMATCH=y ; then
	${CROSS_COMPILE}objcopy -O binary -R .note -R .comment -S arch/arm/boot/compressed/vmlinux linux.bin
	mkimage -A arm -O linux -T kernel -C none -a 30008000 -e 30008000 -n "Openmoko Kernel Image Neo1973(GTA02)" -d linux.bin uImage.bin
	exit 0
else
	exit 1
fi