android_kernel_xiaomi_sm8350/Makefile
Murali Nalajala 9d29e83709 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 <mnalajal@codeaurora.org>
2020-04-17 09:47:22 -07:00

27 lines
755 B
Makefile

# 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
LINUXINCLUDE += -include $(srctree)/techpack/video/config/konavidconf.h
endif
# auto-detect subdirs
ifeq ($(CONFIG_ARCH_LITO), y)
include $(srctree)/techpack/video/config/litovid.conf
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 \
-I$(srctree)/techpack/video/include/uapi/vidc
USERINCLUDE += -I$(srctree)/techpack/video/include/uapi
obj-y +=msm/