mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-24 05:04:00 +08:00
5077ac3b81
As USB/PCI/MEDIA_SUPPORT dependencies can be tristate, we can't simply make the bool menu to be dependent on it. Everything below the menu should also depend on it, otherwise, we risk to allow building them with 'y', while only 'm' would be supported. So, add an IF just before everything below, in order to avoid such risks. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
50 lines
1.4 KiB
Plaintext
50 lines
1.4 KiB
Plaintext
if PCI && MEDIA_SUPPORT
|
|
|
|
menuconfig MEDIA_PCI_SUPPORT
|
|
bool "Media PCI Adapters"
|
|
help
|
|
Enable media drivers for PCI/PCIe bus.
|
|
If you have such devices, say Y.
|
|
|
|
if MEDIA_PCI_SUPPORT
|
|
|
|
if MEDIA_CAMERA_SUPPORT
|
|
comment "Media capture support"
|
|
source "drivers/media/pci/meye/Kconfig"
|
|
source "drivers/media/pci/sta2x11/Kconfig"
|
|
endif
|
|
|
|
if MEDIA_ANALOG_TV_SUPPORT
|
|
comment "Media capture/analog TV support"
|
|
source "drivers/media/pci/ivtv/Kconfig"
|
|
source "drivers/media/pci/zoran/Kconfig"
|
|
source "drivers/media/pci/saa7146/Kconfig"
|
|
endif
|
|
|
|
if MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT
|
|
comment "Media capture/analog/hybrid TV support"
|
|
source "drivers/media/pci/cx18/Kconfig"
|
|
source "drivers/media/pci/cx23885/Kconfig"
|
|
source "drivers/media/pci/cx25821/Kconfig"
|
|
source "drivers/media/pci/cx88/Kconfig"
|
|
source "drivers/media/pci/bt8xx/Kconfig"
|
|
source "drivers/media/pci/saa7134/Kconfig"
|
|
source "drivers/media/pci/saa7164/Kconfig"
|
|
|
|
endif
|
|
|
|
if MEDIA_DIGITAL_TV_SUPPORT
|
|
comment "Media digital TV PCI Adapters"
|
|
source "drivers/media/pci/ttpci/Kconfig"
|
|
source "drivers/media/pci/b2c2/Kconfig"
|
|
source "drivers/media/pci/pluto2/Kconfig"
|
|
source "drivers/media/pci/dm1105/Kconfig"
|
|
source "drivers/media/pci/pt1/Kconfig"
|
|
source "drivers/media/pci/mantis/Kconfig"
|
|
source "drivers/media/pci/ngene/Kconfig"
|
|
source "drivers/media/pci/ddbridge/Kconfig"
|
|
endif
|
|
|
|
endif #MEDIA_PCI_SUPPORT
|
|
endif #PCI
|