Re: Linux 2.6.3-rc4

From: Roman Zippel
Date: Tue Feb 17 2004 - 20:10:58 EST


Hi,

On Tue, 17 Feb 2004, Linus Torvalds wrote:

> What we actually want to say is something like "select I2C=FB_RADEON",
> which makes the minimal dependency of I2C be the same value as FB_RADEON
> (which is a tristate) rather than FB_RADEON_I2C (boolean).

Actually the same can be done this way either:

config FB_RADEON_I2C
depends on FB_RADEON && I2C
select I2C_ALGOBIT if FB_RADEON

to select only I2C_ALGOBIT or:

config FB_RADEON_I2C
depends on FB_RADEON
select I2C if FB_RADEON
select I2C_ALGOBIT if FB_RADEON

to select both.
This adds the expression "FB_RADEON_I2C && FB_RADEON" to the selected
symbol as minimum selection.

bye, Roman
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/