From: Stijn Tintel Date: Thu, 6 Dec 2018 19:27:34 +0000 (+0200) Subject: brcm2708: prepare kmod-drm-vc4 for 4.14 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8e52243c77dc884c6ebba2e47bc9c4a5f9f27376;p=openwrt%2Fstaging%2Fjow.git brcm2708: prepare kmod-drm-vc4 for 4.14 It requires sound card support in the new kernel. HDMI CEC support is disabled for now; enabling it turned out to be non-trivial. Signed-off-by: Stijn Tintel --- diff --git a/target/linux/brcm2708/modules.mk b/target/linux/brcm2708/modules.mk index 24488a1a02..e7292970d6 100644 --- a/target/linux/brcm2708/modules.mk +++ b/target/linux/brcm2708/modules.mk @@ -8,8 +8,13 @@ define KernelPackage/drm-vc4 SUBMENU:=$(VIDEO_MENU) TITLE:=Broadcom VC4 Graphics - DEPENDS:=@TARGET_brcm2708 +kmod-drm - KCONFIG:=CONFIG_DRM_VC4 + DEPENDS:= \ + @TARGET_brcm2708 +kmod-drm \ + +LINUX_4_14:kmod-sound-core \ + +LINUX_4_14:kmod-sound-soc-core + KCONFIG:= \ + CONFIG_DRM_VC4 \ + CONFIG_DRM_VC4_HDMI_CEC=n FILES:= \ $(LINUX_DIR)/drivers/gpu/drm/vc4/vc4.ko \ $(LINUX_DIR)/drivers/gpu/drm/drm_kms_helper.ko