summaryrefslogtreecommitdiff
path: root/v4l/Make.config
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <devnull@localhost>2005-12-11 18:11:56 +0000
committerMauro Carvalho Chehab <devnull@localhost>2005-12-11 18:11:56 +0000
commitc652e86c520a930ce138a26e8b3a1008c12831d4 (patch)
tree95c479d6868dff609f714883a3f36168a3e6a9d9 /v4l/Make.config
parent2ac4714c81661373de42c676440c324fac6752fb (diff)
downloadmediapointer-dvb-s2-c652e86c520a930ce138a26e8b3a1008c12831d4.tar.gz
mediapointer-dvb-s2-c652e86c520a930ce138a26e8b3a1008c12831d4.tar.bz2
Makes v4l compile under 2.4 kernels
From: Mauro Carvalho Chehab <mchehab@brturbo.com.br> kernel-sync - Makes V4L compile with kernel 2.4 - em28xx doesn't compile with 2.4 kernels. Additional work is necessary to make it compile. Thanks-to: Stefan Leichter <Stefan.Leichter@camLine.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'v4l/Make.config')
-rw-r--r--v4l/Make.config4
1 files changed, 3 insertions, 1 deletions
diff --git a/v4l/Make.config b/v4l/Make.config
index 32dfa69b1..e537d5e6f 100644
--- a/v4l/Make.config
+++ b/v4l/Make.config
@@ -1,6 +1,7 @@
MDIR := v4l2
snap := video4linux
+CONFIG_VIDEO_DEV := m
CONFIG_VIDEO_BTTV := m
CONFIG_VIDEO_SAA7134 := m
CONFIG_VIDEO_IR := m
@@ -10,7 +11,6 @@ CONFIG_VIDEO_CX88 := m
CONFIG_TVP5150 := m
CONFIG_SAA711X := m
-CONFIG_EM28XX := m
CONFIG_VIDEO_DECODER := m
@@ -56,6 +56,8 @@ CONFIG_VIDEO_SAA7146_VV := n
ifneq ($(KERNELRELEASE),)
CONFIG_VIDEO_BUF_DVB := $(shell test $(SUBLEVEL) -ge 12 -a $(PATCHLEVEL) -ge 6 && echo m)
+ CONFIG_VIDEO_DEV := $(shell test $(SUBLEVEL) -lt 6 && echo n)
+ CONFIG_EM28XX := $(shell test $(PATCHLEVEL) -ge 6 && echo m)
endif
ifeq ($(CONFIG_VIDEO_BUF_DVB),m)