All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] extract-ikconfig: be sure binoffset exists before extracting
@ 2006-02-01 12:56 Alexey Dobriyan
  2006-02-02 23:32 ` Andrew Morton
  0 siblings, 1 reply; 4+ messages in thread
From: Alexey Dobriyan @ 2006-02-01 12:56 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---

 scripts/extract-ikconfig |    1 +
 1 file changed, 1 insertion(+)

--- 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
 
 IKCFG_ST="0x49 0x4b 0x43 0x46 0x47 0x5f 0x53 0x54"
 IKCFG_ED="0x49 0x4b 0x43 0x46 0x47 0x5f 0x45 0x44"


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] extract-ikconfig: be sure binoffset exists before extracting
  2006-02-01 12:56 [PATCH] extract-ikconfig: be sure binoffset exists before extracting Alexey Dobriyan
@ 2006-02-02 23:32 ` Andrew Morton
  2006-02-03  0:18   ` Alexey Dobriyan
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Morton @ 2006-02-02 23:32 UTC (permalink / raw)
  To: Alexey Dobriyan; +Cc: linux-kernel

Alexey Dobriyan <adobriyan@gmail.com> wrote:
>
> Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
> ---
> 
>  scripts/extract-ikconfig |    1 +
>  1 file changed, 1 insertion(+)
> 
> --- 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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] extract-ikconfig: be sure binoffset exists before extracting
  2006-02-03  0:18   ` Alexey Dobriyan
@ 2006-02-03  0:02     ` Randy.Dunlap
  0 siblings, 0 replies; 4+ messages in thread
From: Randy.Dunlap @ 2006-02-03  0:02 UTC (permalink / raw)
  To: Alexey Dobriyan; +Cc: Andrew Morton, linux-kernel

On Fri, 3 Feb 2006, Alexey Dobriyan wrote:

> On Thu, Feb 02, 2006 at 03:32:41PM -0800, Andrew Morton wrote:
> > Alexey Dobriyan <adobriyan@gmail.com> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] extract-ikconfig: be sure binoffset exists before extracting
  2006-02-02 23:32 ` Andrew Morton
@ 2006-02-03  0:18   ` Alexey Dobriyan
  2006-02-03  0:02     ` Randy.Dunlap
  0 siblings, 1 reply; 4+ messages in thread
From: Alexey Dobriyan @ 2006-02-03  0:18 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

On Thu, Feb 02, 2006 at 03:32:41PM -0800, Andrew Morton wrote:
> Alexey Dobriyan <adobriyan@gmail.com> 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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-02-03  0:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-01 12:56 [PATCH] extract-ikconfig: be sure binoffset exists before extracting Alexey Dobriyan
2006-02-02 23:32 ` Andrew Morton
2006-02-03  0:18   ` Alexey Dobriyan
2006-02-03  0:02     ` Randy.Dunlap

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.