• Dick Streefland's avatar
    kconfig: simplification of scripts/extract-ikconfig · 692d21e0
    Dick Streefland authored
    Rewrite of 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: default avatarDick Streefland <dick@streefland.net>
    Tested-by: default avatarWANG Cong <xiyou.wangcong@gmail.com>
    Cc: Randy Dunlap <rdunlap@xenotime.net>
    Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
    692d21e0
dontdiff 1.91 KB