Don't add + to allow kernel version to match binary module vermagic

This commit is contained in:
Alex Boag-Munroe
2012-06-12 18:38:19 +01:00
committed by Hakjoo Kim
parent e41db26647
commit ea29afc3fd

View File

@@ -163,15 +163,15 @@ res="${res}${CONFIG_LOCALVERSION}${LOCALVERSION}"
if test "$CONFIG_LOCALVERSION_AUTO" = "y"; then
# full scm version string
res="$res$(scm_version)"
else
#else
# append a plus sign if the repository is not in a clean
# 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
scm=$(scm_version --short)
res="$res${scm:++}"
fi
# if test "${LOCALVERSION+set}" != "set"; then
# scm=$(scm_version --short)
# res="$res${scm:++}"
# fi
fi
echo "$res"