linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 10/10] media: camss: Add Makefiles and Kconfig files
@ 2016-11-25 14:57 Todor Tomov
  0 siblings, 0 replies; only message in thread
From: Todor Tomov @ 2016-11-25 14:57 UTC (permalink / raw)
  To: mchehab, laurent.pinchart+renesas, hans.verkuil, javier,
	s.nawrocki, linux-media, linux-kernel
  Cc: bjorn.andersson, srinivas.kandagatla, Todor Tomov

Add Makefiles and Kconfig files to build the camss driver.

Signed-off-by: Todor Tomov <todor.tomov@linaro.org>
---
 drivers/media/platform/qcom/Kconfig             |  5 +++++
 drivers/media/platform/qcom/Makefile            |  1 +
 drivers/media/platform/qcom/camss-8x16/Makefile | 12 ++++++++++++
 3 files changed, 18 insertions(+)
 create mode 100644 drivers/media/platform/qcom/Kconfig
 create mode 100644 drivers/media/platform/qcom/Makefile
 create mode 100644 drivers/media/platform/qcom/camss-8x16/Makefile

diff --git a/drivers/media/platform/qcom/Kconfig b/drivers/media/platform/qcom/Kconfig
new file mode 100644
index 0000000..743ab88
--- /dev/null
+++ b/drivers/media/platform/qcom/Kconfig
@@ -0,0 +1,5 @@
+
+menuconfig VIDEO_QCOM_CAMSS
+	tristate "Qualcomm 8x16 V4L2 Camera Subsystem driver"
+	depends on ARCH_QCOM && VIDEO_V4L2
+	select VIDEOBUF2_DMA_CONTIG
diff --git a/drivers/media/platform/qcom/Makefile b/drivers/media/platform/qcom/Makefile
new file mode 100644
index 0000000..2d73819
--- /dev/null
+++ b/drivers/media/platform/qcom/Makefile
@@ -0,0 +1 @@
+obj-$(CONFIG_VIDEO_QCOM_CAMSS)    += camss-8x16/
diff --git a/drivers/media/platform/qcom/camss-8x16/Makefile b/drivers/media/platform/qcom/camss-8x16/Makefile
new file mode 100644
index 0000000..839e5f6
--- /dev/null
+++ b/drivers/media/platform/qcom/camss-8x16/Makefile
@@ -0,0 +1,12 @@
+# Makefile for Qualcomm CAMSS driver
+
+ccflags-y += -Idrivers/media/platform/qcom/camss
+qcom-camss-objs += \
+		camss.o \
+		csid.o \
+		csiphy.o \
+		ispif.o \
+		vfe.o \
+		video.o \
+
+obj-$(CONFIG_VIDEO_QCOM_CAMSS) += qcom-camss.o
-- 
1.9.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-11-25 15:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-25 14:57 [PATCH 10/10] media: camss: Add Makefiles and Kconfig files Todor Tomov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).