lkml.org 
[lkml]   [2016]   [Nov]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 10/10] media: camss: Add Makefiles and Kconfig files
Date
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
\
 
 \ /
  Last update: 2016-11-25 16:06    [W:0.036 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site