summaryrefslogtreecommitdiff
path: root/v4l
diff options
context:
space:
mode:
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 \