brcm2708: prepare kmod-drm-vc4 for 4.14
authorStijn Tintel <stijn@linux-ipv6.be>
Thu, 6 Dec 2018 19:27:34 +0000 (21:27 +0200)
committerStijn Tintel <stijn@linux-ipv6.be>
Tue, 18 Dec 2018 21:19:21 +0000 (23:19 +0200)
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 <stijn@linux-ipv6.be>
target/linux/brcm2708/modules.mk

index 24488a1a026b6d542676e04a373c42d7a3a05d55..e7292970d6adfbaee027e7922396666bed6a179c 100644 (file)
@@ -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