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:
parent
171f80434d
commit
a65ceebe83
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 New Issue
Block a user