07 Oct, 2009

1 commit

  • 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
    LKML-Reference:
    Tested-by: Steven Rostedt
    Cc: Sam Ravnborg
    Signed-off-by: Steven Rostedt

    Dick Streefland
     

19 Aug, 2009

2 commits


04 Dec, 2008

1 commit

  • unbashify-extract-ikconfig.patch

    scripts/extract-ikconfig contains a lot of gratuituous bashisms,
    which make it fail if /bin/sh isn't bash. This patch replaces them
    with regular Bourne shell constructs.

    Signed-off-by: Werner Almesberger
    Acked-by: Randy Dunlap # as file author
    Signed-off-by: Sam Ravnborg

    Werner Almesberger
     

24 Mar, 2006

3 commits