Re: [PATCH] kconfig: simplification of scripts/extract-ikconfig

From: Sam Ravnborg
Date: Sat Jul 18 2009 - 03:15:58 EST


On Sat, Jul 18, 2009 at 01:08:59AM +0200, Dick Streefland wrote:
> On Friday 2009-07-17 23:17, Sam Ravnborg wrote:
> | Dick - I lost the original patch.
> | Can you please resend.
> |
> | In the changelog please include the information that
> | you tested this with relevant grep versions.
>
> Sure, here it is:
>
> ======================================================================
>
> I've rewritten the extract-ikconfig script to extract the kernel
> configuration from a kernel compiled with CONFIG_IKCONFIG. The main
> motivation for the rewrite was to remove the dependency on the
> external C program binoffset.c, which is compiled on the initial run.
>
> The binoffset executable is invoked with a relative path, which means
> that the old script can only be run from the top of the kernel tree,
> and only when you have write permission in the scripts directory.
> The new script uses tr/grep/tail/zcat only, and can be invoked from
> anywhere. The binoffset.c program has been removed. This script
> requires GNU grep 2.5 (released 2002-03-13) or higher, because the -o
> option was introduced in that version.
>
> Signed-off-by: Dick Streefland <dick@xxxxxxxxxxxxxx>

Applied to kbuild-next.git.

Sam
--
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/