lkml.org 
[lkml]   [2004]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 14:07    [W:0.921 / U:1.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site