From dabe73bc08e65643dade0b399928929243db6c40 Mon Sep 17 00:00:00 2001 From: Lucian Cristian Date: Sun, 28 Jun 2020 22:04:50 +0300 Subject: [PATCH] kernel: video: add multimedia-input driver Signed-off-by: Lucian Cristian [rebase commit, apply review recommendations] Signed-off-by: AmadeusGhost [rebase commit, only apply generic part] Signed-off-by: Tianling Shen --- package/kernel/linux/modules/video.mk | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/package/kernel/linux/modules/video.mk b/package/kernel/linux/modules/video.mk index 9acc19d470..65d1ed877e 100644 --- a/package/kernel/linux/modules/video.mk +++ b/package/kernel/linux/modules/video.mk @@ -221,6 +221,24 @@ endef $(eval $(call KernelPackage,fb-tft-ili9486)) +define KernelPackage/multimedia-input + SUBMENU:=$(VIDEO_MENU) + TITLE:=Multimedia input support + KCONFIG:=CONFIG_RC_CORE \ + CONFIG_LIRC=y \ + CONFIG_RC_DECODERS=y \ + CONFIG_RC_DEVICES=y + FILES:=$(LINUX_DIR)/drivers/media/rc/rc-core.ko + AUTOLOAD:=$(call AutoProbe,rc-core) +endef + +define KernelPackage/multimedia-input/description + Enable multimedia input. +endef + +$(eval $(call KernelPackage,multimedia-input)) + + define KernelPackage/drm SUBMENU:=$(VIDEO_MENU) TITLE:=Direct Rendering Manager (DRM) support