android_kernel_xiaomi_sm8350/techpack/video/Makefile
Michael Bestas 5542c24f27
Add 'techpack/video/' from tag 'LA.UM.9.14.r1-18300-LAHAINA.0'
git-subtree-dir: techpack/video
git-subtree-mainline: 23b65c3a24
git-subtree-split: c585c9cb5b
Change-Id: If6dff80c6b32d912f36261a16e1b8d74c031d524
2022-05-19 00:05:16 +03:00

44 lines
1.1 KiB
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_HOLI), y)
include $(srctree)/techpack/video/config/holivid.conf
endif
ifeq ($(CONFIG_ARCH_HOLI), y)
LINUXINCLUDE += -include $(srctree)/techpack/video/config/holividconf.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
# auto-detect subdirs
ifeq ($(CONFIG_ARCH_SCUBA), y)
include $(srctree)/techpack/video/config/scubavid.conf
endif
ifeq ($(CONFIG_ARCH_SCUBA), y)
LINUXINCLUDE += -include $(srctree)/techpack/video/config/scubavidconf.h
endif
LINUXINCLUDE += -I$(srctree)/techpack/video/include \
-I$(srctree)/techpack/video/include/uapi
USERINCLUDE += -I$(srctree)/techpack/video/include/uapi
obj-y +=msm/