linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Josh Boyer <jwboyer@linux.vnet.ibm.com>
To: "A. Nolson" <alohanono@gmail.com>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: Weird strings in kernel uname when cross-compiling
Date: Thu, 4 Dec 2008 06:44:14 -0500	[thread overview]
Message-ID: <20081204064414.3b72ba91@zod.rchland.ibm.com> (raw)
In-Reply-To: <4937C1D1.5010002@gmail.com>

On Thu, 04 Dec 2008 12:41:05 +0100
"A. Nolson" <alohanono@gmail.com> wrote:

> Hi all,
> 
>  anybody knows why every time I cross-compile my kernel (Denx 4.2 
> cross-compiling chain ) I get an extra string in my vermagic like this
> 
> 2.6.24-rc3-gd7ed933b-dirty
> 
> when my kernel's ( secretlabs 2.6.24-rc3) makefile has this parameters:
> 
> VERSION = 2
> PATCHLEVEL = 6
> SUBLEVEL = 24
> EXTRAVERSION = -rc3
> 
> (So no -gd7ed933b-dirty anywhere... )
> 
>  Having that is a bit annoying when I try to natively compile modules, 
> so I need to workaround it by copying  that extra string into my other 
> Makefiles. Anybody knows how to get rid of it?

It gets added on if you are building from a git repository and you have
CONFIG_LOCALVERSION_AUTO set.  Disable that and it should go away.

(BTW, a quick grep in the top level Makefile would have told you all
that.)

josh

  reply	other threads:[~2008-12-04 11:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-04 11:41 Weird strings in kernel uname when cross-compiling A. Nolson
2008-12-04 11:44 ` Josh Boyer [this message]
2008-12-04 16:01   ` Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081204064414.3b72ba91@zod.rchland.ibm.com \
    --to=jwboyer@linux.vnet.ibm.com \
    --cc=alohanono@gmail.com \
    --cc=linuxppc-embedded@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).