1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-09 23:53:10 +02:00
openwrt-xburst/target/linux/generic/patches-2.6.39/200-fix_localversion.patch

12 lines
397 B
Diff
Raw Normal View History

--- 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