openwrtv4/target/linux/generic/patches-2.6.37/200-fix_localversion.patch
Felix Fietkau a1624421ae kernel: reorganize 2.6.37 patches
SVN-Revision: 26692
2011-04-16 18:31:21 +00:00

11 lines
397 B
Diff

--- a/scripts/setlocalversion
+++ b/scripts/setlocalversion
@@ -164,7 +164,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