They should be plain 0/1 booleans. For a bool/tristate option FOO, it
would define:
Enabled y:
#define CONFIG_FOO
#define CFG_FOO 1
#undef CONFIG_FOO_MODULE
#define CFG_FOO_MODULE 0
Enabled m:
#define CONFIG_FOO
#define CFG_FOO 1
#define CONFIG_FOO_MODULE
#define CFG_FOO_MODULE 1
Disabled n:
#undef CONFIG_FOO
#define CFG_FOO 0
#undef CONFIG_FOO_MODULE
#define CFG_FOO_MODULE 0
Not sure what CFG_* should be for string/numeric options. Probably "1"
if the value is defined, "0" if not, with CONFIG_* being the actual
value (so a CONFIG_ value of 0 is distinguishable from not defined).
J
--