Hi, On Mon, 19 Aug 2002, Greg Banks wrote:
> If you wanted to add the ability to express this in CML1, you would need > a completely different syntax for choices, say something like this: > > menuchoice next_comment > comment 'Kernel page size' > choiceitem '4KB' CONFIG_IA64_PAGE_SIZE_4KB > choiceitem '8KB' CONFIG_IA64_PAGE_SIZE_8KB > choiceitem '16KB' CONFIG_IA64_PAGE_SIZE_16KB default > if [ "$CONFIG_ITANIUM" != "y" ]; then > choiceitem '64KB' CONFIG_IA64_PAGE_SIZE_64KB > fi > endmenuchoice BTW with my syntax this would look like: choice prompt 'Kernel page size' default IA64_PAGE_SIZE_16KB help ... config IA64_PAGE_SIZE_4KB boolean '4KB' help ... config IA64_PAGE_SIZE_8KB boolean '8KB' help ... config IA64_PAGE_SIZE_16KB boolean '16KB' help ... config IA64_PAGE_SIZE_64KB boolean '64KB' if ITANIUM help ... endchoice You can also define multiple defaults. A config item also can have sub items. bye, Roman ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 _______________________________________________ kbuild-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/kbuild-devel