Hi,
I see this in drivers/parport/Config.in (2.4.19) [not picking on
parport; this occurs in many places].
define_tristate CONFIG_PARPORT_PC_CML1 $CONFIG_PARPORT_PC
gcml2 (Greg Banks) checker program flags this with:
warning:drivers/parport/Config.in:18:symbol "CONFIG_PARPORT_PC_CML1"
defined to non-literal expression "CONFIG_PARPORT_PC"
and indeed linux/Documentation/kbuild/config-language.txt says that
'define_tristate' takes a value of y, m, or n. [and not variables
that have those values, right ??]
Is there a simple, clean way to assign one tristate value to
another one? Instead of having to do something like:
if [ "$CONFIG_PARPORT_PC" = "y" ]; then
define_tristate CONFIG_PARPORT_PC_CML1 y
else
if [ "$CONFIG_PARPORT_PC" = "m" ]; then
define_tristate CONFIG_PARPORT_PC_CML1 m
fi
fi
Thanks,
--
~Randy
"In general, avoiding problems is better than solving them."
-- from "#ifdef Considered Harmful", Spencer & Collyer, USENIX 1992.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
kbuild-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/kbuild-devel