linux/generic: update mini_fo for kernels >=2.6.36
[openwrt/svn-archive/archive.git] / target / linux / generic / patches-2.6.37 / 001-fix_localversion.patch
1 --- a/scripts/setlocalversion
2 +++ b/scripts/setlocalversion
3 @@ -164,7 +164,7 @@ else
4 # annotated or signed tagged state (as git describe only
5 # looks at signed or annotated tags - git tag -a/-s) and
6 # LOCALVERSION= is not specified
7 - if test "${LOCALVERSION+set}" != "set"; then
8 + if test "${CONFIG_LOCALVERSION+set}" != "set"; then
9 scm=$(scm_version --short)
10 res="$res${scm:++}"
11 fi