aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-05-03 15:59:37 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-05-09 10:12:49 -0300
commit523b78d1d202dedcd9e549576d6179d68210c038 (patch)
tree8b95cfcb5eb8534c35d74bb715005c24d0937bdc
parent6b6bcb16c6b528fb5832244db949366bf0e42f44 (diff)
V4L/DVB (5600): Allow compiling just DVB CORE
Allow compiling just DVB CORE without needing to compile the drivers Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r--drivers/media/dvb/Kconfig11
-rw-r--r--drivers/media/dvb/dvb-core/Kconfig2
2 files changed, 12 insertions, 1 deletions
diff --git a/drivers/media/dvb/Kconfig b/drivers/media/dvb/Kconfig
index 525c5184f9f..efd2b746815 100644
--- a/drivers/media/dvb/Kconfig
+++ b/drivers/media/dvb/Kconfig
@@ -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
diff --git a/drivers/media/dvb/dvb-core/Kconfig b/drivers/media/dvb/dvb-core/Kconfig
index 93e24fb0e68..e3e6839f807 100644
--- a/drivers/media/dvb/dvb-core/Kconfig
+++ b/drivers/media/dvb/dvb-core/Kconfig
@@ -1,4 +1,4 @@
-menuconfig DVB_CORE
+config DVB_CORE
tristate "DVB for Linux"
depends on NET && INET
select CRC32