59faba1b31
If one has a dependency chain (tristate)FOO depends on (bool)BAR depends on (tristate)BAZ, build problems will result. If BAZ=m, then BAR can be set y, which allows FOO=y. It's possible to have FOO=y && BAZ=m, which wouldn't be allowed if FOO depended directly on BAZ. In effect, the bool promotes the tristate from m to y. This ends up causing a problem with several menuconfigs that look like: menuconfig BAR bool depends on BAZ [tristate] if BAR config FOO tristate endif The solution used here is to add the dependencies of BAR to the if statement, so that items in the if block will gain a direct non-bool-promoted dependency on BAZ. This is how it would work if a menu was used instead of an if block. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Acked-by: Mauro Carvalho Chehab <mchehab@infradead.org> Cc: "David S. Miller" <davem@davemloft.net> Acked-by: Jeff Garzik <jeff@garzik.org> Cc: Dominik Brodowski <linux@dominikbrodowski.net> Cc: Chas Williams <chas@cmf.nrl.navy.mil> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
44 lines
1.1 KiB
Plaintext
44 lines
1.1 KiB
Plaintext
#
|
|
# Multimedia device configuration
|
|
#
|
|
|
|
source "drivers/media/dvb/dvb-core/Kconfig"
|
|
|
|
menuconfig DVB_CAPTURE_DRIVERS
|
|
bool "DVB/ATSC adapters"
|
|
depends on DVB_CORE
|
|
default y
|
|
---help---
|
|
Say Y to select Digital TV adapters
|
|
|
|
if DVB_CAPTURE_DRIVERS && DVB_CORE
|
|
|
|
comment "Supported SAA7146 based PCI Adapters"
|
|
depends on DVB_CORE && PCI && I2C
|
|
source "drivers/media/dvb/ttpci/Kconfig"
|
|
|
|
comment "Supported USB Adapters"
|
|
depends on DVB_CORE && USB && I2C
|
|
source "drivers/media/dvb/dvb-usb/Kconfig"
|
|
source "drivers/media/dvb/ttusb-budget/Kconfig"
|
|
source "drivers/media/dvb/ttusb-dec/Kconfig"
|
|
source "drivers/media/dvb/cinergyT2/Kconfig"
|
|
|
|
comment "Supported FlexCopII (B2C2) Adapters"
|
|
depends on DVB_CORE && (PCI || USB) && I2C
|
|
source "drivers/media/dvb/b2c2/Kconfig"
|
|
|
|
comment "Supported BT878 Adapters"
|
|
depends on DVB_CORE && PCI && I2C
|
|
source "drivers/media/dvb/bt8xx/Kconfig"
|
|
|
|
comment "Supported Pluto2 Adapters"
|
|
depends on DVB_CORE && PCI && I2C
|
|
source "drivers/media/dvb/pluto2/Kconfig"
|
|
|
|
comment "Supported DVB Frontends"
|
|
depends on DVB_CORE
|
|
source "drivers/media/dvb/frontends/Kconfig"
|
|
|
|
endif # DVB_CAPTURE_DRIVERS
|