summaryrefslogtreecommitdiff
path: root/v4l/Makefile.staging
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2009-09-10 19:58:39 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2009-09-10 19:58:39 +0200
commita8f908ae4e4df8c18b0fe87bfae722392b5429d8 (patch)
treeaa4c957f41b67799fa257fb952709377c72f032c /v4l/Makefile.staging
parentf3fb970832182809d9bf8b397fe34f70404e51fd (diff)
downloadmediapointer-dvb-s2-a8f908ae4e4df8c18b0fe87bfae722392b5429d8.tar.gz
mediapointer-dvb-s2-a8f908ae4e4df8c18b0fe87bfae722392b5429d8.tar.bz2
v4l: Merge drivers/staging/go7007 in v4l-dvb.
From: Hans Verkuil <hverkuil@xs4all.nl> Having go7007 as part of v4l-dvb makes it easier to continue developing this driver. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'v4l/Makefile.staging')
-rw-r--r--v4l/Makefile.staging39
1 files changed, 39 insertions, 0 deletions
diff --git a/v4l/Makefile.staging b/v4l/Makefile.staging
new file mode 100644
index 000000000..b8dca80f0
--- /dev/null
+++ b/v4l/Makefile.staging
@@ -0,0 +1,39 @@
+# From drivers/staging/go7007/Makefile
+
+#obj-m += go7007.o go7007-usb.o snd-go7007.o wis-saa7115.o wis-tw9903.o \
+ wis-uda1342.o wis-sony-tuner.o wis-saa7113.o wis-ov7640.o \
+ wis-tw2804.o
+
+
+obj-$(CONFIG_VIDEO_GO7007) += go7007.o
+obj-$(CONFIG_VIDEO_GO7007_USB) += go7007-usb.o
+obj-$(CONFIG_VIDEO_GO7007_USB_S2250_BOARD) += s2250.o
+
+go7007-objs += go7007-v4l2.o go7007-driver.o go7007-i2c.o go7007-fw.o \
+ snd-go7007.o wis-saa7113.o
+
+s2250-objs += s2250-board.o s2250-loader.o
+
+# Uncompile when the saa7134 patches get into upstream
+#ifneq ($(CONFIG_VIDEO_SAA7134),)
+#obj-$(CONFIG_VIDEO_SAA7134) += saa7134-go7007.o
+#EXTRA_CFLAGS += -Idrivers/media/video/saa7134
+#endif
+
+ifneq ($(CONFIG_VIDEO_GO7007_USB_S2250_BOARD),)
+EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-usb
+endif
+
+EXTRA_CFLAGS += -Idrivers/staging/saa7134
+EXTRA_CFLAGS += -Idrivers/media/dvb/frontends
+EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core
+
+KDIRA := /lib/modules/$(KERNELRELEASE)/kernel
+
+staging-install install-staging::
+ @dir="drivers/staging/go7007"; \
+ files='go7007.ko go7007-usb.ko s2250.ko'; \
+ echo -e "\nInstalling $(KDIRA)/$$dir files:"; \
+ 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;