Similar to [1], patch setlocalversion.

Change-Id: Ia1a8e6255d8f055b5280553d8c3fb282ec9578a2
1: https://gfiber-internal.googlesource.com/kernel/mindspeed/+/7a687f1
diff --git a/scripts/setlocalversion b/scripts/setlocalversion
index 64a9cb5..c9cc057 100755
--- a/scripts/setlocalversion
+++ b/scripts/setlocalversion
@@ -161,8 +161,8 @@
 	res="$res$(scm_version)"
 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
+	# state and  CONFIG_LOCALVERSION= is not specified
+	if test "${CONFIG_LOCALVERSION+set}" != "set"; then
 		scm=$(scm_version --short)
 		res="$res${scm:++}"
 	fi