Re: [patch] config language dep_* enhancements

Peter Samuelson (peter@cadcamlab.org)
Tue, 13 Aug 2002 21:57:01 -0500


[Greg Banks]
> define_bool CONFIG_QUUX y
>
> bool 'Set this symbol to ON' CONFIG_FOO
>
> if [ "$CONFIG_FOO" = "y" ]; then
> bool 'Here QUUX is a query symbol' CONFIG_QUUX
> fi

It's (somewhat) well-known that things tend to fly apart when you try
to redefine a symbol. I don't see it documented, but I suppose it
should be. In any case, you're supposed to use "else" - see the
example in config-language.txt under "=== define_hex".

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