diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-08-09 15:50:18 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-08-09 15:50:18 +0000 |
commit | ed9cacdc9ef4aee3d73cfee52622442083d95bc7 (patch) | |
tree | a75d22e22944ceff93c38adcb3cd725e225abda5 /target | |
parent | e3e9d8a192ce39d11f684c540405d1ab70ca5978 (diff) | |
download | upstream-ed9cacdc9ef4aee3d73cfee52622442083d95bc7.tar.gz upstream-ed9cacdc9ef4aee3d73cfee52622442083d95bc7.tar.bz2 upstream-ed9cacdc9ef4aee3d73cfee52622442083d95bc7.zip |
[generic] fix localversion detection for linux 2.6.35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22560 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/generic/patches-2.6.35/001-fix_localversion.patch | 11 |
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 |