Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a65ceebe authored by Fudong Zhang's avatar Fudong Zhang
Browse files

msm: vidc: Add config files for scuba

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

Change-Id: I2ee99356ab66f81e2b1a15b4a76155938ffe0db5
parent 171f8043
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -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

config/scubavid.conf

0 → 100644
+5 −0
Original line number Diff line number Diff line
ifeq ($(CONFIG_QGKI),y)
export CONFIG_MSM_VIDC_V4L2=y
else
export CONFIG_MSM_VIDC_V4L2=m
endif

config/scubavidconf.h

0 → 100644
+6 −0
Original line number Diff line number Diff line
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (c) 2021, The Linux Foundation. All rights reserved.
 */

#define CONFIG_MSM_VIDC_V4L2 1