From 6131f8a58e59d638f7ffd803e3926603955c87d0 Mon Sep 17 00:00:00 2001 From: Jigarkumar Zala Date: Wed, 27 Nov 2019 09:51:39 -0800 Subject: [PATCH] msm: camera: config: Enable module based compilation Currently all the modules are compiled based on single config flag. This change adds the capability for module based compilation with module based config flag for various targets. CRs-Fixed: 2569808 Change-Id: I054a555db04d1643b9da2d3f409d009c1fb2da9c Signed-off-by: Jigarkumar Zala --- config/bengalcamera.conf | 6 ++++++ config/bengalcameraconf.h | 6 ++++++ config/konacamera.conf | 7 ++++++- config/konacameraconf.h | 5 +++++ config/litocamera.conf | 6 ++++++ config/litocameraconf.h | 7 ++++++- 6 files changed, 35 insertions(+), 2 deletions(-) diff --git a/config/bengalcamera.conf b/config/bengalcamera.conf index 451723eebc..051268ee0f 100644 --- a/config/bengalcamera.conf +++ b/config/bengalcamera.conf @@ -2,3 +2,9 @@ # Copyright (c) 2019, The Linux Foundation. All rights reserved. export CONFIG_SPECTRA_CAMERA=y +export CONFIG_SPECTRA_ISP=y +export CONFIG_SPECTRA_SENSOR=y +export CONFIG_SPECTRA_ICP=y +export CONFIG_SPECTRA_JPEG=y +export CONFIG_SPECTRA_LRME=y +export CONFIG_SPECTRA_FD=y diff --git a/config/bengalcameraconf.h b/config/bengalcameraconf.h index 1a77140180..6d3b107796 100644 --- a/config/bengalcameraconf.h +++ b/config/bengalcameraconf.h @@ -4,4 +4,10 @@ */ #define CONFIG_SPECTRA_CAMERA 1 +#define CONFIG_SPECTRA_ISP 1 +#define CONFIG_SPECTRA_SENSOR 1 +#define CONFIG_SPECTRA_ICP 1 +#define CONFIG_SPECTRA_JPEG 1 +#define CONFIG_SPECTRA_LRME 1 +#define CONFIG_SPECTRA_FD 1 diff --git a/config/konacamera.conf b/config/konacamera.conf index 9b08bcb80c..9d3834b986 100644 --- a/config/konacamera.conf +++ b/config/konacamera.conf @@ -1 +1,6 @@ -export CONFIG_SPECTRA_CAMERA=y \ No newline at end of file +export CONFIG_SPECTRA_CAMERA=y +export CONFIG_SPECTRA_ISP=y +export CONFIG_SPECTRA_SENSOR=y +export CONFIG_SPECTRA_ICP=y +export CONFIG_SPECTRA_JPEG=y +export CONFIG_SPECTRA_FD=y diff --git a/config/konacameraconf.h b/config/konacameraconf.h index 875b95587a..971c8383e5 100644 --- a/config/konacameraconf.h +++ b/config/konacameraconf.h @@ -5,4 +5,9 @@ #define CONFIG_SPECTRA_CAMERA 1 +#define CONFIG_SPECTRA_ISP 1 +#define CONFIG_SPECTRA_SENSOR 1 +#define CONFIG_SPECTRA_ICP 1 +#define CONFIG_SPECTRA_JPEG 1 +#define CONFIG_SPECTRA_FD 1 diff --git a/config/litocamera.conf b/config/litocamera.conf index 451723eebc..051268ee0f 100644 --- a/config/litocamera.conf +++ b/config/litocamera.conf @@ -2,3 +2,9 @@ # Copyright (c) 2019, The Linux Foundation. All rights reserved. export CONFIG_SPECTRA_CAMERA=y +export CONFIG_SPECTRA_ISP=y +export CONFIG_SPECTRA_SENSOR=y +export CONFIG_SPECTRA_ICP=y +export CONFIG_SPECTRA_JPEG=y +export CONFIG_SPECTRA_LRME=y +export CONFIG_SPECTRA_FD=y diff --git a/config/litocameraconf.h b/config/litocameraconf.h index 1a77140180..08b473441f 100644 --- a/config/litocameraconf.h +++ b/config/litocameraconf.h @@ -4,4 +4,9 @@ */ #define CONFIG_SPECTRA_CAMERA 1 - +#define CONFIG_SPECTRA_ISP 1 +#define CONFIG_SPECTRA_SENSOR 1 +#define CONFIG_SPECTRA_ICP 1 +#define CONFIG_SPECTRA_JPEG 1 +#define CONFIG_SPECTRA_LRME 1 +#define CONFIG_SPECTRA_FD 1