linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.6.37+ for kernel version, what is this + sign?
@ 2011-04-14 14:12 Xianghua Xiao
  2011-04-14 20:50 ` Randy Dunlap
  2011-04-15  4:00 ` Américo Wang
  0 siblings, 2 replies; 3+ messages in thread
From: Xianghua Xiao @ 2011-04-14 14:12 UTC (permalink / raw)
  To: linux-kernel

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?

Thanks,
Xianghua

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2.6.37+ for kernel version, what is this + sign?
  2011-04-14 14:12 2.6.37+ for kernel version, what is this + sign? Xianghua Xiao
@ 2011-04-14 20:50 ` Randy Dunlap
  2011-04-15  4:00 ` Américo Wang
  1 sibling, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2011-04-14 20:50 UTC (permalink / raw)
  To: Xianghua Xiao; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2.6.37+ for kernel version, what is this + sign?
  2011-04-14 14:12 2.6.37+ for kernel version, what is this + sign? Xianghua Xiao
  2011-04-14 20:50 ` Randy Dunlap
@ 2011-04-15  4:00 ` Américo Wang
  1 sibling, 0 replies; 3+ messages in thread
From: Américo Wang @ 2011-04-15  4:00 UTC (permalink / raw)
  To: Xianghua Xiao; +Cc: linux-kernel

On Thu, Apr 14, 2011 at 10:12 PM, Xianghua Xiao <xiaoxianghua@gmail.com> 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 comes from Makefile, which means your git tree is dirty.
You can override it by, e.g. make LOCALVERSION="" bzImage

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-04-15  4:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-14 14:12 2.6.37+ for kernel version, what is this + sign? Xianghua Xiao
2011-04-14 20:50 ` Randy Dunlap
2011-04-15  4:00 ` Américo Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).