msm: vidc: Add config files for scuba

Add video config files for scuba to enable
the video driver for scuba target

Change-Id: I2ee99356ab66f81e2b1a15b4a76155938ffe0db5
This commit is contained in:
Fudong Zhang 2021-06-18 15:12:48 +08:00
parent 171f80434d
commit a65ceebe83
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