summaryrefslogtreecommitdiffstats
path: root/target/linux/s3c24xx/patches-2.6.24/1257-fix-build-hash-name-no-colon-separator.patch.patch
diff options
context:
space:
mode:
authormirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-12-12 11:58:53 +0000
committermirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-12-12 11:58:53 +0000
commitfc54b9bf158eea9cae647ce2c58f7d9989af173a (patch)
tree54644c1229434d7ee13c5872bda4129e34337fc0 /target/linux/s3c24xx/patches-2.6.24/1257-fix-build-hash-name-no-colon-separator.patch.patch
parentd9f49b62b28ebd245587854efa484974d90debbf (diff)
changed Makefile and profiles, added patches for kernel 2.6.24
(stable-branch of Openmoko) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13613 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/s3c24xx/patches-2.6.24/1257-fix-build-hash-name-no-colon-separator.patch.patch')
-rw-r--r--target/linux/s3c24xx/patches-2.6.24/1257-fix-build-hash-name-no-colon-separator.patch.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.24/1257-fix-build-hash-name-no-colon-separator.patch.patch b/target/linux/s3c24xx/patches-2.6.24/1257-fix-build-hash-name-no-colon-separator.patch.patch
new file mode 100644
index 000000000..d9e8c85fb
--- /dev/null
+++ b/target/linux/s3c24xx/patches-2.6.24/1257-fix-build-hash-name-no-colon-separator.patch.patch
@@ -0,0 +1,32 @@
+From 2c55337cb0cde08203df321a108409b7e33e6904 Mon Sep 17 00:00:00 2001
+From: Andy Green <andy@openmoko.com>
+Date: Wed, 6 Aug 2008 23:13:28 +0100
+Subject: [PATCH] fix-build-hash-name-no-colon-separator.patch
+ Suggested-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
+
+Colons are not very friendly for tar... scp has trouble too but
+you can override that by prepending any path like ./ ... still
+better to dilute the colon down to a _ avoiding - because it can
+appear in branch names we use.
+
+Signed-off-by: Andy Green <andy@openmoko.com>
+---
+ build | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/build b/build
+index 63bb0fc..9fda9c7 100755
+--- a/build
++++ b/build
+@@ -10,7 +10,7 @@ VERSION=
+ if [ -d .git ] ; then
+ HEAD=`git show --pretty=oneline | head -n1 | cut -d' ' -f1 | cut -b1-16`
+ BRANCH=`git branch | grep ^\* | cut -d' ' -f2`
+- VERSION=-$BRANCH:$HEAD
++ VERSION=-$BRANCH\_$HEAD
+ fi
+
+ if make -j5 ARCH=arm EXTRAVERSION=$VERSION; then
+--
+1.5.6.5
+