Re: Disgusted with kbuild developers

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sat, 16 Feb 2002 16:55:47 +0000 (GMT)


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