openwrtv4/target/linux/generic/patches-3.3/200-fix_localversion.patch
Jonas Gorski eca9950f63 kernel: add preliminary support for linux 3.3
Based on 3.3-rc2

SVN-Revision: 29986
2012-02-02 08:23:54 +00:00

11 lines
397 B
Diff

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