Re: [PATCH] extract-ikconfig: be sure binoffset exists beforeextracting

From: Randy.Dunlap
Date: Thu Feb 02 2006 - 19:00:39 EST


On Fri, 3 Feb 2006, Alexey Dobriyan wrote:

> On Thu, Feb 02, 2006 at 03:32:41PM -0800, Andrew Morton wrote:
> > Alexey Dobriyan <adobriyan@xxxxxxxxx> wrote:
> > > --- a/scripts/extract-ikconfig
> > > +++ b/scripts/extract-ikconfig
> > > @@ -4,6 +4,7 @@
> > > # $arg1 is [b]zImage filename
> > >
> > > binoffset="./scripts/binoffset"
> > > +test -e $binoffset || cc -o $binoffset ./scripts/binoffset.c || exit 1
> > >
> >
> > OK, but it would be better if we could find a way of doing this within a
> > Makefile.
>
> AFAICS, it's a standalone script for CONFIG_IKCONFIG=y,
> CONFIG_IKCONFIG_PROC=n users.

or for reading the .config from any kernel image file (if it's there),
not limited to only the loaded kernel.

--
~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/