aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-08-09 15:50:18 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-08-09 15:50:18 +0000
commit7d08b0bf47ff43552ec244dbb44d6284b081674f (patch)
treea4d7349346115dff74890083f143fde3b237120d /target/linux/generic
parent2324b07ad1db02ace84a6c54310af8d2786d1638 (diff)
downloadupstream-7d08b0bf47ff43552ec244dbb44d6284b081674f.tar.gz
upstream-7d08b0bf47ff43552ec244dbb44d6284b081674f.tar.bz2
upstream-7d08b0bf47ff43552ec244dbb44d6284b081674f.zip
fix localversion detection for linux 2.6.35
SVN-Revision: 22560
Diffstat (limited to 'target/linux/generic')
-rw-r--r--target/linux/generic/patches-2.6.35/001-fix_localversion.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/generic/patches-2.6.35/001-fix_localversion.patch b/target/linux/generic/patches-2.6.35/001-fix_localversion.patch
new file mode 100644
index 0000000000..44b1775070
--- /dev/null
+++ b/target/linux/generic/patches-2.6.35/001-fix_localversion.patch
@@ -0,0 +1,11 @@
+--- a/scripts/setlocalversion
++++ b/scripts/setlocalversion
+@@ -162,7 +162,7 @@ if test "$CONFIG_LOCALVERSION_AUTO" = "y
+ else
+ # apped a plus sign if the repository is not in a clean tagged
+ # state and LOCALVERSION= is not specified
+- if test "${LOCALVERSION+set}" != "set"; then
++ if test "${CONFIG_LOCALVERSION+set}" != "set"; then
+ scm=$(scm_version --short)
+ res="$res${scm:++}"
+ fi