Merge "msm: vidc: Add config files for scuba"

This commit is contained in:
qctecmdr 2021-08-03 18:00:48 -07:00 • committed by Gerrit - the friendly Code Review server
commit 362689d1df
3 changed files with 20 additions and 0 deletions

View file

@ -26,6 +26,15 @@ 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

5
config/scubavid.conf Normal file
View file

@ -0,0 +1,5 @@
ifeq ($(CONFIG_QGKI),y)
export CONFIG_MSM_VIDC_V4L2=y
else
export CONFIG_MSM_VIDC_V4L2=m
endif

6
config/scubavidconf.h Normal file
View file

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