Messages in this thread | | | Date | Wed, 27 Oct 2004 02:19:38 +0200 (CEST) | From | Roman Zippel <> | Subject | Re: kbuild dependencies and layout |
| |
Hi,
On Mon, 25 Oct 2004, J.A. Magallon wrote:
> (helps stripped...) > I want to make PDC202XX_BURST and PDC202XX_FORCE be selectable if any of > _OLD or _NEW is selected. So I wrote: > > menu "Promise PDC support" > config BLK_DEV_PDC202XX_OLD > tristate "PROMISE PDC202{46|62|65|67} support" > config BLK_DEV_PDC202XX_NEW tristate "PROMISE PDC202{68|69|70|71|75|76|77} > support" > config PDC202XX_BURST > bool "Special UDMA Feature" > depends on BLK_DEV_PDC202XX_OLD || BLK_DEV_PDC202XX_NEW > config PDC202XX_FORCE > bool "Enable controller even if disabled by BIOS" > depends on BLK_DEV_PDC202XX_OLD || BLK_DEV_PDC202XX_NEW > endmenu
Usually it already helps if the main options have some additional dependencies like "depends on PCI", which in this case is not needed anymore. The other possibility is to put a dummy config symbol inbetween:
config PDC202XX_DUMMY bool
if it neither has prompt nor a default, it won't be saved, but I'd rather would like to avoid that for a minor esthetic problem.
bye, Roman - 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/
| |