summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/hdpvr/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/hdpvr/Makefile')
-rw-r--r--drivers/media/video/hdpvr/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/media/video/hdpvr/Makefile b/drivers/media/video/hdpvr/Makefile
new file mode 100644
index 000000000000..e0230fcb2e36
--- /dev/null
+++ b/drivers/media/video/hdpvr/Makefile
@@ -0,0 +1,9 @@
+hdpvr-objs := hdpvr-control.o hdpvr-core.o hdpvr-video.o
+
+hdpvr-$(CONFIG_I2C) += hdpvr-i2c.o
+
+obj-$(CONFIG_VIDEO_HDPVR) += hdpvr.o
+
+EXTRA_CFLAGS += -Idrivers/media/video
+
+EXTRA_CFLAGS += $(extra-cflags-y) $(extra-cflags-m)