From: Petr Štetiar Date: Tue, 29 Mar 2022 11:33:25 +0000 (+0200) Subject: kernel: modules: fix kmod-drm dependency for 5.15 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f5a54716a4f7bcc4de78bd068d84278949139adf;p=openwrt%2Fstaging%2Fneocturne.git kernel: modules: fix kmod-drm dependency for 5.15 Fixes following issue: Package kmod-drm is missing dependencies for the following libraries: fb.ko Introduced upstream in commit f611b1e7624c ("drm: Avoid circular dependencies for CONFIG_FB") in 5.14. Signed-off-by: Petr Štetiar --- diff --git a/package/kernel/linux/modules/video.mk b/package/kernel/linux/modules/video.mk index 2a306b5f42..b614e2a665 100644 --- a/package/kernel/linux/modules/video.mk +++ b/package/kernel/linux/modules/video.mk @@ -225,7 +225,8 @@ define KernelPackage/drm SUBMENU:=$(VIDEO_MENU) TITLE:=Direct Rendering Manager (DRM) support HIDDEN:=1 - DEPENDS:=+kmod-dma-buf +kmod-i2c-core +PACKAGE_kmod-backlight:kmod-backlight + DEPENDS:=+kmod-dma-buf +kmod-i2c-core +PACKAGE_kmod-backlight:kmod-backlight \ + +(LINUX_5_15):kmod-fb KCONFIG:=CONFIG_DRM FILES:= \ $(LINUX_DIR)/drivers/gpu/drm/drm.ko \