summaryrefslogtreecommitdiff
path: root/v4l/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'v4l/Makefile')
-rw-r--r--v4l/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/v4l/Makefile b/v4l/Makefile
index 03ad2b9f0..d20bab383 100644
--- a/v4l/Makefile
+++ b/v4l/Makefile
@@ -60,7 +60,10 @@ saa7146_vv-objs := saa7146_vv_ksyms.o saa7146_fops.o \
saa7146_video.o saa7146_hlp.o saa7146_vbi.o
obj-m := video-buf.o v4l1-compat.o v4l2-common.o
-obj-m += compat_ioctl32.o videodev.o
+obj-m += compat_ioctl32.o
+ifeq ($(CONFIG_VIDEO_DEV),m)
+obj-m += videodev.o
+endif
obj-$(CONFIG_VIDEO_BTTV) += btcx-risc.o ir-common.o bttv.o tveeprom.o
obj-$(CONFIG_VIDEO_CX88) += btcx-risc.o cx88xx.o cx8800.o cx8802.o \