Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 05b312bc authored by Jigarkumar Zala's avatar Jigarkumar Zala Committed by Gerrit - the friendly Code Review server
Browse files

Camera: Add support for LITO target



This change add config support for LITO target.

Change-Id: Ia4a191c862f9886bb35fbd792ae786d027d5cc7e
Signed-off-by: default avatarJigarkumar Zala <jzala@codeaurora.org>
parent 485b7d2f
Loading
Loading
Loading
Loading
+19 −7
Original line number Diff line number Diff line
@@ -5,6 +5,21 @@ ifeq ($(CONFIG_ARCH_KONA), y)
include $(srctree)/techpack/camera/config/konacamera.conf
endif

ifeq ($(CONFIG_ARCH_LITO), y)
include $(srctree)/techpack/camera/config/litocamera.conf
endif

ifeq ($(CONFIG_ARCH_KONA), y)
LINUXINCLUDE    += \
		-include $(srctree)/techpack/camera/config/konacameraconf.h
endif

ifeq ($(CONFIG_ARCH_LITO), y)
LINUXINCLUDE    += \
		-include $(srctree)/techpack/camera/config/litocameraconf.h
endif

ifdef CONFIG_SPECTRA_CAMERA
# Use USERINCLUDE when you must reference the UAPI directories only.
USERINCLUDE     += \
                -I$(srctree)/techpack/camera/include/uapi
@@ -14,10 +29,7 @@ USERINCLUDE += \
LINUXINCLUDE    += \
                -I$(srctree)/techpack/camera/include/uapi \
                -I$(srctree)/techpack/camera/include

ifeq ($(CONFIG_ARCH_KONA), y)
LINUXINCLUDE    += \
		-include $(srctree)/techpack/camera/config/konacameraconf.h
endif

obj-y += drivers/
else
$(info Target not found)
endif

config/litocamera.conf

0 → 100644
+4 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0-only
# Copyright (c) 2019, The Linux Foundation. All rights reserved.

export CONFIG_SPECTRA_CAMERA=y
+7 −0
Original line number Diff line number Diff line
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (c) 2019, The Linux Foundation. All rights reserved.
 */

#define CONFIG_SPECTRA_CAMERA 1
+8 −8

File changed.

Contains only whitespace changes.