[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080430080134.60346a12.randy.dunlap@oracle.com>
Date: Wed, 30 Apr 2008 08:01:34 -0700
From: Randy Dunlap <randy.dunlap@...cle.com>
To: "SL Baur" <steve@...acs.org>
Cc: "Andres Salomon" <dilinger@...ued.net>,
"Sam Ravnborg" <sam@...nborg.org>,
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, 30 Apr 2008 03:45:57 -0700 SL Baur wrote:
> On 4/29/08, Andres Salomon <dilinger@...ued.net> wrote:
> > On Tue, 29 Apr 2008 20:35:31 +0200
> > Sam Ravnborg <sam@...nborg.org> wrote:
>
> > > And we add support for a new 'commandline' parameter
> > > 'K' so I can say:
> > >
> > > make K=/proc/config.gz defconfig
> > > make K=i386_defconfig defconfig
> > > make K=i386_defconfig oldconfig
> > > make K=/proc/config.gz newconfig
> > >
> > > So K is used to specify what config file we use
> > > to start out from.
>
> I like this idea a lot. I didn't like the hardcoded `.config' 13
> years ago and I still
> don't like it now.
>
> > Sounds good, I highly prefer specifying the config via env variable
> > rather than embedded in the target (ie, 'make olpc_defconfig').
>
> 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.
> I don't have any way of checking this now, but can /proc files like
> /proc/config.gz
> be exported via NFS or the equivalent?
---
~Randy
--
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