techpack: video: add support for lito in makefile

This change adds support to compile video driver
project for lito.

Change-Id: I398fd8f37cb42bb20f849f17284c377001c14dde
Signed-off-by: Govindaraj Rajagopal <grajagop@codeaurora.org>
This commit is contained in:
Govindaraj Rajagopal 2019-05-14 15:19:35 +05:30
commit 96cf4d94e4
3 changed files with 16 additions and 0 deletions

View file

@ -9,4 +9,13 @@ ifeq ($(CONFIG_ARCH_KONA), y)
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
obj-y +=msm/

1
config/litovid.conf Normal file
View file

@ -0,0 +1 @@
export CONFIG_MSM_VIDC_V4L2=y

6
config/litovidconf.h Normal file
View file

@ -0,0 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2019, The Linux Foundation. All rights reserved.
*/
#define CONFIG_MSM_VIDC_V4L2 1