[openwrt/openwrt] kernel: modules: fix kmod-drm dependency for 5.15
LEDE Commits
lede-commits at lists.infradead.org
Wed Mar 30 14:39:42 PDT 2022
ynezz pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/f5a54716a4f7bcc4de78bd068d84278949139adf
commit f5a54716a4f7bcc4de78bd068d84278949139adf
Author: Petr Štetiar <ynezz at true.cz>
AuthorDate: Tue Mar 29 13:33:25 2022 +0200
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 <ynezz at true.cz>
---
package/kernel/linux/modules/video.mk | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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 \
More information about the lede-commits
mailing list