mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
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:
parent
d64baed296
commit
96cf4d94e4
3 changed files with 16 additions and 0 deletions
9
Makefile
9
Makefile
|
|
@ -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
1
config/litovid.conf
Normal file
|
|
@ -0,0 +1 @@
|
|||
export CONFIG_MSM_VIDC_V4L2=y
|
||||
6
config/litovidconf.h
Normal file
6
config/litovidconf.h
Normal 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
|
||||
Loading…
Reference in a new issue