summaryrefslogtreecommitdiff
path: root/v4l
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2006-04-01 20:36:50 -0600
committerMike Isely <isely@pobox.com>2006-04-01 20:36:50 -0600
commitcbea0cdfe46b67fb696b0a045e8ace7dddf4ca49 (patch)
treec560570ce6cc4ad649aeb87c16900f4b913c1b31 /v4l
parent0bce98602d455b54f9e8f4915f7288e0b4b6bdb8 (diff)
downloadmediapointer-dvb-s2-cbea0cdfe46b67fb696b0a045e8ace7dddf4ca49.tar.gz
mediapointer-dvb-s2-cbea0cdfe46b67fb696b0a045e8ace7dddf4ca49.tar.bz2
Split out PVR USB2 model 24xxx hardware support to a config option
From: Mike Isely <isely@pobox.com> Since there are lingering stability problems with support of the newer PVR USB2 model 24xxx series hardware, I have isolate those changes with a config option. This commit leaves that option off. Signed-off-by: Mike Isely <isely@pobox.com>
Diffstat (limited to 'v4l')
-rw-r--r--v4l/Make.config2
-rw-r--r--v4l/Makefile9
2 files changed, 11 insertions, 0 deletions
diff --git a/v4l/Make.config b/v4l/Make.config
index 7d8ae8e8d..98df1af83 100644
--- a/v4l/Make.config
+++ b/v4l/Make.config
@@ -20,6 +20,8 @@ CONFIG_VIDEO_ALSA := y
CONFIG_VIDEO_ADV_DEBUG := y
CONFIG_VIDEO_PVRUSB2 := m
+CONFIG_VIDEO_PVRUSB2_SYSFS := y
+CONFIG_VIDEO_PVRUSB2_DEBUGIFC := y
CONFIG_VIDEO_IVTV := n
diff --git a/v4l/Makefile b/v4l/Makefile
index 0b14488ee..da000e5d6 100644
--- a/v4l/Makefile
+++ b/v4l/Makefile
@@ -74,6 +74,15 @@ pvrusb2-objs := pvrusb2-i2c-core.o pvrusb2-i2c-cmd-v4l2.o \
pvrusb2-sysfs.o pvrusb2-context.o pvrusb2-io.o \
pvrusb2-cx2584x-v4l.o pvrusb2-wm8775.o \
pvrusb2-ioread.o pvrusb2-debugifc.o
+ifeq ($(CONFIG_VIDEO_PVRUSB2_SYSFS),y)
+ EXTRA_CFLAGS += -DCONFIG_VIDEO_PVRUSB2_SYSFS
+endif
+ifeq ($(CONFIG_VIDEO_PVRUSB2_DEBUGIFC),y)
+ EXTRA_CFLAGS += -DCONFIG_VIDEO_PVRUSB2_DEBUGIFC
+endif
+ifeq ($(CONFIG_VIDEO_PVRUSB2_24XXX),y)
+ EXTRA_CFLAGS += -DCONFIG_VIDEO_PVRUSB2_24XXX
+endif
dvb-firesat-objs := firesat.o avc_api.o cmp.o firesat-rc.o
ivtv-objs := ivtv-driver.o ivtv-fileops.o ivtv-i2c.o ivtv-streams.o \
ivtv-firmware.o ivtv-reset.o ivtv-gpio.o ivtv-queue.o \