[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110414135039.9e1ace99.rdunlap@xenotime.net>
Date: Thu, 14 Apr 2011 13:50:39 -0700
From: Randy Dunlap <rdunlap@...otime.net>
To: Xianghua Xiao <xiaoxianghua@...il.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: 2.6.37+ for kernel version, what is this + sign?
On Thu, 14 Apr 2011 09:12:57 -0500 Xianghua Xiao wrote:
> After I disabled LOCALVERSION_AUTO and MODVERSIONS now the kernel
> image is 2.6.37+
> where is the + sign coming from? how can I get rid of it?
It basically means that your git tree is modified.
top-level Makefile calls scripts/setlocalversion, which says (in part):
# Check for git and a git repo.
if test -d .git && head=`git rev-parse --verify --short HEAD 2>/dev/null`; then
# If we are at a tagged commit (like "v2.6.30-rc6"), we ignore
# it, because this version is defined in the top level Makefile.
if [ -z "`git describe --exact-match 2>/dev/null`" ]; then
# If only the short version is requested, don't bother
# running further git commands
if $short; then
echo "+"
return
fi
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists