Skip to contentSkip to conversation

selecting a tristate

DISCUSSION Uwe Kleine-König 1 participant 1 message Jul 3, 2008 Kbuild

lore
Share & tools
lore
#0 lore raw

Hello,

I wrote a network driver that needs CONFIG_CRC32, so I have:

	config NS9XXX_ETH
		tristate "..."
		depends on PHYLIB
		select CRC32

Currently if I choose CONFIG_NS9XXX_ETH=m I get CONFIG_CRC32=y. I would prefer to only get CONFIG_CRC32>=CONFIG_NS9XXX_ETH. I tried to implement it, but I did't find a way to do so.

Is this idea sensible? Do you know any breakage this would introduce?

AFAIK "depends on" works this way. That is if CONFIG_PHYLIB=m above I cannot select NS9XXX_ETH=y.

Best regards
Uwe

Signature · 3 lines
Uwe Kleine-König, Software Engineer
Digi International GmbH Branch Breisach, Küferstrasse 8, 79206 Breisach, Germany
Tax: 315/5781/0242 / VAT: DE153662976 / Reg. Amtsgericht Dortmund HRB 13962