summaryrefslogtreecommitdiff
path: root/v4l/Makefile.staging
diff options
context:
space:
mode:
Diffstat (limited to 'v4l/Makefile.staging')
-rw-r--r--v4l/Makefile.staging19
1 files changed, 19 insertions, 0 deletions
diff --git a/v4l/Makefile.staging b/v4l/Makefile.staging
index b8dca80f0..77ba6a9fa 100644
--- a/v4l/Makefile.staging
+++ b/v4l/Makefile.staging
@@ -37,3 +37,22 @@ staging-install install-staging::
install -d $(KDIRA)/$$dir; \
for i in $$files;do if [ -e $$i ]; then echo -n "$$i "; \
install -m 644 -c $$i $(KDIRA)/$$dir; fi; done; echo;
+
+# From drivers/staging/cx25821/Makefile
+
+cx25821-objs := cx25821-core.o cx25821-cards.o cx25821-i2c.o cx25821-gpio.o \
+ cx25821-medusa-video.o cx25821-video.o cx25821-video0.o cx25821-video1.o \
+ cx25821-video2.o cx25821-video3.o cx25821-video4.o cx25821-video5.o \
+ cx25821-video6.o cx25821-video7.o cx25821-vidups9.o cx25821-vidups10.o \
+ cx25821-audups11.o cx25821-video-upstream.o cx25821-video-upstream-ch2.o \
+ cx25821-audio-upstream.o cx25821-videoioctl.o
+
+obj-$(CONFIG_VIDEO_CX25821) += cx25821.o
+obj-$(CONFIG_VIDEO_CX25821_ALSA) += cx25821-alsa.o
+
+EXTRA_CFLAGS += -Idrivers/media/video
+EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core
+EXTRA_CFLAGS += -Idrivers/media/dvb/frontends
+
+EXTRA_CFLAGS += $(extra-cflags-y) $(extra-cflags-m)
+