aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorwarmcat <andy@warmcat.com>2008-11-19 17:09:28 +0000
committerAndy Green <agreen@pads.home.warmcat.com>2008-11-19 17:09:28 +0000
commit26df63b430e79728b6c97c8ab2a78943cec9be70 (patch)
tree9c283df377e1fe28b3d5cfdde0e3059a80a53ae3 /build
parent5d06110f9f9cc5743f4b0852d9dcf7d52a53b2ee (diff)
local-build-scripts.patch
Add a couple of handy scripts to crossmake and send over dfu From: warmcat <andy@warmcat.com>
Diffstat (limited to 'build')
-rwxr-xr-xbuild14
1 files changed, 14 insertions, 0 deletions
diff --git a/build b/build
new file mode 100755
index 00000000000..7e61ea2defa
--- /dev/null
+++ b/build
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+set -x
+
+export CROSS_COMPILE=../../cross/bin/arm-angstrom-linux-gnueabi-
+make ARCH=arm silentoldconfig
+if make -j5 ARCH=arm; 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
+