lkml.org 
[lkml]   [2008]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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@queued.net> wrote:
> > On Tue, 29 Apr 2008 20:35:31 +0200
> > Sam Ravnborg <sam@ravnborg.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


\
 
 \ /
  Last update: 2008-04-30 17:05    [W:1.026 / U:0.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site