From b318b39465793328819400479081e914217f0c46 Mon Sep 17 00:00:00 2001 From: Vishalsingh Hajeri Date: Wed, 25 Mar 2020 18:12:08 -0700 Subject: [PATCH] msm: camera: config: Do not compile camera sources for VM image Do not compile camera sources for VM image for lahaina. Guard the source path against CONFIG_QTI_VM to decide to compile it are not. CRs-Fixed: 2663712 Change-Id: I4a624cf8d9824b545c8fb70c134a3b7011c4d2ca Signed-off-by: Vishalsingh Hajeri --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index c24393bede..3e82a6fc6c 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-only # auto-detect subdirs +ifneq ($(CONFIG_ARCH_QTI_VM), y) ifeq ($(CONFIG_ARCH_KONA), y) include $(srctree)/techpack/camera/config/konacamera.conf endif @@ -36,6 +37,7 @@ ifeq ($(CONFIG_ARCH_LAHAINA), y) LINUXINCLUDE += \ -include $(srctree)/techpack/camera/config/lahainacameraconf.h endif +endif ifneq (,$(filter $(CONFIG_SPECTRA_CAMERA), y m)) # Use USERINCLUDE when you must reference the UAPI directories only.