mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
msm: camera: config: Add support for BENGAL target
Add camera config support for BENGAL target. CRs-Fixed: 2531589 Change-Id: Ie0afa4acdcdcde2286a56f802b4f8246e711503f Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>
This commit is contained in:
parent
921bdca4b0
commit
68c8d11eba
3 changed files with 20 additions and 0 deletions
9
Makefile
9
Makefile
|
|
@ -9,6 +9,10 @@ ifeq ($(CONFIG_ARCH_LITO), y)
|
|||
include $(srctree)/techpack/camera/config/litocamera.conf
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_ARCH_BENGAL), y)
|
||||
include $(srctree)/techpack/camera/config/bengalcamera.conf
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_ARCH_KONA), y)
|
||||
LINUXINCLUDE += \
|
||||
-include $(srctree)/techpack/camera/config/konacameraconf.h
|
||||
|
|
@ -19,6 +23,11 @@ LINUXINCLUDE += \
|
|||
-include $(srctree)/techpack/camera/config/litocameraconf.h
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_ARCH_BENGAL), y)
|
||||
LINUXINCLUDE += \
|
||||
-include $(srctree)/techpack/camera/config/bengalcameraconf.h
|
||||
endif
|
||||
|
||||
ifdef CONFIG_SPECTRA_CAMERA
|
||||
# Use USERINCLUDE when you must reference the UAPI directories only.
|
||||
USERINCLUDE += \
|
||||
|
|
|
|||
4
config/bengalcamera.conf
Normal file
4
config/bengalcamera.conf
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
# Copyright (c) 2019, The Linux Foundation. All rights reserved.
|
||||
|
||||
export CONFIG_SPECTRA_CAMERA=y
|
||||
7
config/bengalcameraconf.h
Normal file
7
config/bengalcameraconf.h
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* Copyright (c) 2019, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#define CONFIG_SPECTRA_CAMERA 1
|
||||
|
||||
Loading…
Reference in a new issue