Re: Disgusted with kbuild developers

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Sat Feb 16 2002 - 11:55:47 EST


> It's not that simple, either. You have to track the symbols that are
> *supposed* to be different between trees. The devil is in the details --
> and it's a big devil.

(Not tested but something like this ought to split them neatly out of
 a master tree into the 2.4 format)

for i in $(find . -name "[Cc]onfig.in" -print)
do
        grep CONFIG_ '$i'
done | sort -u |
while read x
do
        grep -B1 -A200 '$x' MasterConfigHelpFile |
        (
                read A
                read B
                cat > frob
        )
        ed frob << 'FOO'
        /^$
        .,$d
        wq
        'FOO' >/dev/null
        cat frob
done

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



This archive was generated by hypermail 2b29 : Sat Feb 23 2002 - 21:00:11 EST