]> err.no Git - linux-2.6/commitdiff
V4L/DVB (5600): Allow compiling just DVB CORE
authorMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 3 May 2007 18:59:37 +0000 (15:59 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 9 May 2007 13:12:49 +0000 (10:12 -0300)
Allow compiling just DVB CORE without needing to compile the drivers

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/Kconfig
drivers/media/dvb/dvb-core/Kconfig

index 525c5184f9f7b31709a7de77b1a7bbe9847951a8..efd2b746815820e06698a209881e1d53c35d4cc8 100644 (file)
@@ -4,6 +4,15 @@
 
 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
+
 comment "Supported SAA7146 based PCI Adapters"
        depends on DVB_CORE && PCI && I2C
 source "drivers/media/dvb/ttpci/Kconfig"
@@ -30,3 +39,5 @@ source "drivers/media/dvb/pluto2/Kconfig"
 comment "Supported DVB Frontends"
        depends on DVB_CORE
 source "drivers/media/dvb/frontends/Kconfig"
+
+endif # DVB_CAPTURE_DRIVERS
index 93e24fb0e68e661489c799e6eba1dc07662d8462..e3e6839f807313da679dc2da28e992ad3c8b6e52 100644 (file)
@@ -1,4 +1,4 @@
-menuconfig DVB_CORE
+config DVB_CORE
        tristate "DVB for Linux"
        depends on NET && INET
        select CRC32