Skip to content

Commit

Permalink
Don't add + to allow kernel version to match binary module vermagic
Browse files Browse the repository at this point in the history
  • Loading branch information
Ninpo authored and hardkernel committed Jan 17, 2013
1 parent e41db26 commit ea29afc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scripts/setlocalversion
Original file line number Diff line number Diff line change
Expand Up @@ -163,15 +163,15 @@ res="${res}${CONFIG_LOCALVERSION}${LOCALVERSION}"
if test "$CONFIG_LOCALVERSION_AUTO" = "y"; then
# full scm version string
res="$res$(scm_version)"
else
#else
# append a plus sign if the repository is not in a clean
# 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
scm=$(scm_version --short)
res="$res${scm:++}"
fi
# if test "${LOCALVERSION+set}" != "set"; then
# scm=$(scm_version --short)
# res="$res${scm:++}"
# fi
fi

echo "$res"

0 comments on commit ea29afc

Please sign in to comment.