1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-19 14:08:17 +02:00

fix localversion detection for linux 2.6.35

SVN-Revision: 22560
This commit is contained in:
Jo-Philipp Wich 2010-08-09 15:50:18 +00:00
parent 2324b07ad1
commit 7d08b0bf47

@ -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