aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.6/200-fix_localversion.patch
blob: 0d1bae8d455c92ffab1da33801dee2dff7eef5c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/scripts/setlocalversion
+++ b/scripts/setlocalversion
@@ -168,7 +168,7 @@ else
 	# annotated or signed tagged state (as git describe only
 	# looks at signed or annotated tags - git tag -a/-s) 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