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 <jzala@codeaurora.org>
This commit is contained in:
Jigarkumar Zala 2019-11-27 09:51:39 -08:00
parent 02ac7654b8
commit 6131f8a58e
6 changed files with 35 additions and 2 deletions

View File

@ -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

View File

@ -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

View File

@ -1 +1,6 @@
export CONFIG_SPECTRA_CAMERA=y
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

View File

@ -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

View File

@ -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

View File

@ -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