[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080430203734.GA9837@uranus.ravnborg.org>
Date: Wed, 30 Apr 2008 22:37:34 +0200
From: Sam Ravnborg <sam@...nborg.org>
To: SL Baur <steve@...acs.org>
Cc: Randy Dunlap <randy.dunlap@...cle.com>,
Andres Salomon <dilinger@...ued.net>,
linux-kbuild <linux-kbuild@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>,
Dave Jones <davej@...emonkey.org.uk>,
Roland McGrath <roland@...hat.com>
Subject: Re: Additional kconfig targets (cloneconfig, nonint_oldconfig etc)
On Wed, Apr 30, 2008 at 01:32:52PM -0700, SL Baur wrote:
> On 4/30/08, Randy Dunlap <randy.dunlap@...cle.com> wrote:
> > On Wed, 30 Apr 2008 03:45:57 -0700 SL Baur wrote:
>
> > > Is there any reasonable way to embed the configuration file name in the kernel
> > > image like BSD does it? /proc/config.gz is a good way to retrieve way to
> > > retrieve configuration information on a running system, not so good for pushing
> > > kernels out to a network and keeping track of the config files on the build
> > > machine.
> >
> >
> > I don't know how BSD does it, but CONFIG_IKCONFIG does embed the
> > config image in the kernel. It can be extracted with
> > scripts/extract-ikconfig.
>
> No, that's not what I meant. Now that we have a means of specifying
> a configuration file by name, it would be nice if the file name could,
> for example, be appended to EXTRAVERSION. That's all it would
> take to duplicate the behavior I misdescribed.
>
>
> Eg. `make K=HPxw4300.config ...' would have "-HPxw4300" appended
> to EXTRAVERSION. Maybe this doesn't make sense any more, but it
> was once something I wanted very much.
You can just do:
echo "-HPxw4300" > localversion
Then it gets appended to the kernel version. While not automatic is
solves your need.
Sam
--
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