[ar71xx] create firmware image for the Ubiquiti LS-SR71 board
[openwrt.git] / target / linux / s3c24xx / patches-2.6.24 / 1257-fix-build-hash-name-no-colon-separator.patch.patch
1 From 2c55337cb0cde08203df321a108409b7e33e6904 Mon Sep 17 00:00:00 2001
2 From: Andy Green <andy@openmoko.com>
3 Date: Wed, 6 Aug 2008 23:13:28 +0100
4 Subject: [PATCH] fix-build-hash-name-no-colon-separator.patch
5 Suggested-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
6
7 Colons are not very friendly for tar... scp has trouble too but
8 you can override that by prepending any path like ./ ... still
9 better to dilute the colon down to a _ avoiding - because it can
10 appear in branch names we use.
11
12 Signed-off-by: Andy Green <andy@openmoko.com>
13 ---
14 build | 2 +-
15 1 files changed, 1 insertions(+), 1 deletions(-)
16
17 diff --git a/build b/build
18 index 63bb0fc..9fda9c7 100755
19 --- a/build
20 +++ b/build
21 @@ -10,7 +10,7 @@ VERSION=
22 if [ -d .git ] ; then
23 HEAD=`git show --pretty=oneline | head -n1 | cut -d' ' -f1 | cut -b1-16`
24 BRANCH=`git branch | grep ^\* | cut -d' ' -f2`
25 - VERSION=-$BRANCH:$HEAD
26 + VERSION=-$BRANCH\_$HEAD
27 fi
28
29 if make -j5 ARCH=arm EXTRAVERSION=$VERSION; then
30 --
31 1.5.6.5
32
This page took 0.044541 seconds and 5 git commands to generate.