summaryrefslogtreecommitdiff
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-03 15:59:37 -0300
commitc2ec786d32e9a6da752ee6dc6318639f3f8dd6be (patch)
treeb5c04dec20bf11f90a515af9a9e338fbe441eb52
parent7af85d9b09728b05095b73bb354b1b09af39369b (diff)
downloadmediapointer-dvb-s2-c2ec786d32e9a6da752ee6dc6318639f3f8dd6be.tar.gz
mediapointer-dvb-s2-c2ec786d32e9a6da752ee6dc6318639f3f8dd6be.tar.bz2
Allow compiling just DVB CORE without needing to compile the drivers
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r--linux/drivers/media/dvb/Kconfig11
-rw-r--r--linux/drivers/media/dvb/dvb-core/Kconfig2
2 files changed, 12 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/Kconfig b/linux/drivers/media/dvb/Kconfig
index 525c5184f..efd2b7468 100644
--- a/linux/drivers/media/dvb/Kconfig
+++ b/linux/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/linux/drivers/media/dvb/dvb-core/Kconfig b/linux/drivers/media/dvb/dvb-core/Kconfig
index 93e24fb0e..e3e6839f8 100644
--- a/linux/drivers/media/dvb/dvb-core/Kconfig
+++ b/linux/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