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@true.cz>
This commit is contained in:
Petr Štetiar 2022-03-29 13:33:25 +02:00
parent 853686f7a9
commit f5a54716a4

View File

@ -225,7 +225,8 @@ define KernelPackage/drm
SUBMENU:=$(VIDEO_MENU) SUBMENU:=$(VIDEO_MENU)
TITLE:=Direct Rendering Manager (DRM) support TITLE:=Direct Rendering Manager (DRM) support
HIDDEN:=1 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 KCONFIG:=CONFIG_DRM
FILES:= \ FILES:= \
$(LINUX_DIR)/drivers/gpu/drm/drm.ko \ $(LINUX_DIR)/drivers/gpu/drm/drm.ko \