From: Mieczyslaw Nalewaj Date: Sun, 1 Dec 2024 01:10:45 +0000 (+0100) Subject: kernel: update fb package on x86 for kernel 6.12 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1642ddba52788d16bb04296c377bf87475964318;p=openwrt%2Fstaging%2Fwigyori.git kernel: update fb package on x86 for kernel 6.12 For kernel 6.12 the fb package uses video-common.ko instead of fbdev.ko. The patch switches these files depending on the kernel version. Signed-off-by: Mieczyslaw Nalewaj --- diff --git a/package/kernel/linux/modules/video.mk b/package/kernel/linux/modules/video.mk index 9bb030bf57..66aa22d26d 100644 --- a/package/kernel/linux/modules/video.mk +++ b/package/kernel/linux/modules/video.mk @@ -138,8 +138,9 @@ define KernelPackage/fb/description endef define KernelPackage/fb/x86 - FILES+=$(LINUX_DIR)/arch/x86/video/fbdev.ko - AUTOLOAD:=$(call AutoLoad,06,fbdev fb font) + FILES+=$(LINUX_DIR)/arch/x86/video/fbdev.ko@lt6.12 \ + $(LINUX_DIR)/arch/x86/video/video-common.ko@ge6.12 + AUTOLOAD:=$(call AutoLoad,06,fbdev@lt6.12 video-common@ge6.12 fb font) endef $(eval $(call KernelPackage,fb))