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 <namiltd@yahoo.com>
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))