[ar71xx] add default network configuration for the TL-WR941ND board
[openwrt.git] / target / linux / s3c24xx / patches-2.6.24 / 1256-add-buildkeep-hash-named-copy.patch.patch
1 From b79f79448a70b5718db2428939e00150315b5eda Mon Sep 17 00:00:00 2001
2 From: Andy Green <andy@openmoko.com>
3 Date: Wed, 6 Aug 2008 20:46:42 +0100
4 Subject: [PATCH] add-buildkeep-hash-named-copy.patch
5
6 Keep a copy of last "moredrivers" config kernel built stamped with
7 branch and git head at build time.
8
9 Signed-off-by: Andy Green <andy@openmoko.com>
10 ---
11 build | 10 +++++++++-
12 1 files changed, 9 insertions(+), 1 deletions(-)
13
14 diff --git a/build b/build
15 index 9c2d561..63bb0fc 100755
16 --- a/build
17 +++ b/build
18 @@ -15,7 +15,15 @@ fi
19
20 if make -j5 ARCH=arm EXTRAVERSION=$VERSION; then
21 ${CROSS_COMPILE}objcopy -O binary -R .note -R .comment -S arch/arm/boot/compressed/vmlinux linux.bin
22 - mkimage -A arm -O linux -T kernel -C none -a 30008000 -e 30008000 -n "Openmoko Kernel Image Neo1973(GTA02)" -d linux.bin uImage.bin
23 + mkimage -A arm -O linux -T kernel -C none -a 30008000 -e 30008000 -n "Openmoko Freerunner Kernel" -d linux.bin uImage.bin
24 +
25 + # we can see if it is an "moredrivers" build by looking for USB Eth gadget
26 + # if it is then keep a stamped copy of last build
27 +
28 + if [ ! -z "`grep CONFIG_USB_ETH=y .config`" ] ; then
29 + rm -f uImage-moredrivers*
30 + cp uImage.bin uImage-moredrivers$VERSION.bin
31 + fi
32 exit 0
33 else
34 exit 1
35 --
36 1.5.6.5
37
This page took 0.046088 seconds and 5 git commands to generate.