Re: xconfig lossage

Michael Elizabeth Chastain (mec@shout.net)
Mon, 16 Feb 1998 18:15:50 -0600


Hi Alan,

> How about writing a sensible grammer for Config.in files and dependancies
> including clean per platform rules - eg so I can say
>
> (sparc i386) bool "has a fnord device" Y
>
> and make a script to write all the Config.* format files from a sane
> input format ?

I am planning to approach this from a different angle -- first write
a unified parser for the existing grammar; then write back ends to
replace all the existing back ends; then write a new parser for a
new grammar and replace all the Config.in files at that time
(there are only about 3000 lines of them but they are spread out
over multiple architectures which makes co-ordinating the patches
harder).

I think this is ungainly, but not terminally broken:

if [ "$ARCH" = "sparc" -o "$ARCH" = "i386" ]; then
bool "has a fnord device" Y
fi

Regards,

Michael Chastain
<mailto:mec@shout.net>
"love without fear"

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu