mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 12:58:12 -04:00
Merge "msm: vidc: Add config files for scuba"
This commit is contained in:
commit
362689d1df
3 changed files with 20 additions and 0 deletions
9
Makefile
9
Makefile
|
|
@ -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
5
config/scubavid.conf
Normal 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
6
config/scubavidconf.h
Normal 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
|
||||
Loading…
Reference in a new issue