openwrtv3/target/linux/generic/patches-2.6.38/001-fix_localversion.patch
Imre Kaloz c700e57cc7 preliminary 2.6.38 support
SVN-Revision: 25057
2011-01-21 17:52:22 +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