summaryrefslogtreecommitdiff
path: root/v4l/Make.config
diff options
context:
space:
mode:
authorMichael Krufky <devnull@localhost>2005-12-22 20:17:50 +0000
committerMichael Krufky <devnull@localhost>2005-12-22 20:17:50 +0000
commitbf727322e0b9664e722a9f7844bf9197d65ee658 (patch)
tree6457aa467e25e713adaf4225f0fe086ae94fddae /v4l/Make.config
parentcc0299a9a4a83c00879b53d0d9171d183192d23c (diff)
downloadmediapointer-dvb-s2-bf727322e0b9664e722a9f7844bf9197d65ee658.tar.gz
mediapointer-dvb-s2-bf727322e0b9664e722a9f7844bf9197d65ee658.tar.bz2
enable build of dvb-kernel modules in 2.6.10 and 2.6.11.
This might also work for 2.6.9 and earlier, but I haven't been able to test it yet. Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Diffstat (limited to 'v4l/Make.config')
-rw-r--r--v4l/Make.config11
1 files changed, 7 insertions, 4 deletions
diff --git a/v4l/Make.config b/v4l/Make.config
index 78a271847..1aaea7e4f 100644
--- a/v4l/Make.config
+++ b/v4l/Make.config
@@ -16,17 +16,17 @@ CONFIG_VIDEO_DECODER := m
CONFIG_VIDEO_ALSA := n
CONFIG_VIDEO_ADV_DEBUG := y
-# doesn't build on kernels older than 2.6.12
+# doesn't build on older kernels
+CONFIG_DVB_CORE := n
CONFIG_VIDEO_BUF_DVB := n
CONFIG_VIDEO_CX88_DVB := n
CONFIG_VIDEO_SAA7134_DVB := n
-# requires merged v4l/dvb tree
+# requires dvb-core
CONFIG_DVB_BT8XX := n
CONFIG_DVB_FRONTENDS := n
-CONFIG_DVB_CORE := n
CONFIG_DVB_B2C2_FLEXCOP := n
CONFIG_DVB_B2C2_FLEXCOP_PCI := n
CONFIG_DVB_B2C2_FLEXCOP_USB := n
@@ -54,6 +54,7 @@ CONFIG_VIDEO_SAA7146 := n
CONFIG_VIDEO_SAA7146_VV := n
ifneq ($(KERNELRELEASE),)
+ CONFIG_DVB_CORE := $(shell test $(SUBLEVEL) -ge 10 -a $(PATCHLEVEL) -ge 6 && echo m)
CONFIG_VIDEO_BUF_DVB := $(shell test $(SUBLEVEL) -ge 12 -a $(PATCHLEVEL) -ge 6 && echo m)
CONFIG_VIDEO_DEV := $(shell test $(SUBLEVEL) -ge 6 && echo m)
CONFIG_EM28XX := $(shell test $(PATCHLEVEL) -ge 6 && echo m)
@@ -62,9 +63,11 @@ endif
ifeq ($(CONFIG_VIDEO_BUF_DVB),m)
CONFIG_VIDEO_CX88_DVB := m
CONFIG_VIDEO_SAA7134_DVB := m
+endif
+
+ifeq ($(CONFIG_DVB_CORE),m)
CONFIG_DVB_BT8XX := m
CONFIG_DVB_FRONTENDS := m
- CONFIG_DVB_CORE := m
CONFIG_DVB_B2C2_FLEXCOP := m
CONFIG_DVB_B2C2_FLEXCOP_PCI := m
CONFIG_DVB_B2C2_FLEXCOP_USB := m