Do you have a .config ? Look there for the value assigned by CONFIG_LOCALVERSION .
To avoid the local version specified in the kernel release, delete CONFIG_LOCALVERSION or comment out it by running the line containing it with # .
The default value is:
#CONFIG_LOCALVERSION is not set
source share