Just for my memo:
I met problem in generating a kernel with correct version. A "+" symbol is always added into the kernel version. And my investigation shows it is related in scripts/setlocalversion
Also the modification is as follows:
Index: scripts/setlocalversion
===================================================================
--- scripts/setlocalversion (revision 4935)
+++ scripts/setlocalversion (working copy)
@@ -166,7 +166,7 @@
# LOCALVERSION= is not specified
if test "${LOCALVERSION+set}" != "set"; then
scm=$(scm_version --short)
- res="$res${scm:++}"
+ #res="$res${scm:++}"
fi
fi