فهرست منبع

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 <[email protected]>
Jigarkumar Zala 5 سال پیش
والد
کامیت
6131f8a58e
6فایلهای تغییر یافته به همراه35 افزوده شده و 2 حذف شده
  1. 6 0
      config/bengalcamera.conf
  2. 6 0
      config/bengalcameraconf.h
  3. 6 1
      config/konacamera.conf
  4. 5 0
      config/konacameraconf.h
  5. 6 0
      config/litocamera.conf
  6. 6 1
      config/litocameraconf.h

+ 6 - 0
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

+ 6 - 0
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
 

+ 6 - 1
config/konacamera.conf

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

+ 5 - 0
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
 

+ 6 - 0
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

+ 6 - 1
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