From 9d29e83709bde1b53e37293ad91877272fe97c79 Mon Sep 17 00:00:00 2001 From: Murali Nalajala Date: Wed, 25 Mar 2020 18:47:23 -0700 Subject: [PATCH] msm: video: config: Do not compile video sources for VM image Do not compile video sources for VM image for lahaina. Guard the source path against CONFIG_QTI_VM to decide to compile it are not. Change-Id: If9549c2a58ed3e7cf66c2cbc51c5fc01b82dd79b Signed-off-by: Murali Nalajala --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index ef196427110e..707ce2c2d67a 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,9 @@ # SPDX-License-Identifier: GPL-2.0-only # auto-detect subdirs +ifneq ($(CONFIG_ARCH_QTI_VM), y) ifeq ($(CONFIG_ARCH_LAHAINA), y) include $(srctree)/techpack/video/config/konavid.conf -endif - -ifeq ($(CONFIG_ARCH_LAHAINA), y) LINUXINCLUDE += -include $(srctree)/techpack/video/config/konavidconf.h endif @@ -17,6 +15,7 @@ endif ifeq ($(CONFIG_ARCH_LITO), y) LINUXINCLUDE += -include $(srctree)/techpack/video/config/litovidconf.h endif +endif LINUXINCLUDE += -I$(srctree)/techpack/video/include \ -I$(srctree)/techpack/video/include/uapi \