[LEDE-DEV] [RFC 17/26] kernel: kmod-fbcon: handle merged kernel modules

Hauke Mehrtens hauke at hauke-m.de
Sun Nov 26 03:45:15 PST 2017


In kernel 4.14 many kernel modules from the kmod-fbcon package were
merged into one.

Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 package/kernel/linux/modules/video.mk | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/package/kernel/linux/modules/video.mk b/package/kernel/linux/modules/video.mk
index ef6bd4bc0b..dc731b1a86 100644
--- a/package/kernel/linux/modules/video.mk
+++ b/package/kernel/linux/modules/video.mk
@@ -103,13 +103,14 @@ define KernelPackage/fbcon
 	CONFIG_VT_CONSOLE=y \
 	CONFIG_VT_HW_CONSOLE_BINDING=y
   FILES:= \
-	$(LINUX_DIR)/drivers/video/console/bitblit.ko \
-	$(LINUX_DIR)/drivers/video/console/softcursor.ko \
-	$(LINUX_DIR)/drivers/video/console/fbcon.ko \
-	$(LINUX_DIR)/drivers/video/console/fbcon_rotate.ko \
-	$(LINUX_DIR)/drivers/video/console/fbcon_cw.ko \
-	$(LINUX_DIR)/drivers/video/console/fbcon_ud.ko \
-	$(LINUX_DIR)/drivers/video/console/fbcon_ccw.ko \
+	$(LINUX_DIR)/drivers/video/console/bitblit.ko at lt4.14 \
+	$(LINUX_DIR)/drivers/video/console/softcursor.ko at lt4.14 \
+	$(LINUX_DIR)/drivers/video/console/fbcon.ko at lt4.14 \
+	$(LINUX_DIR)/drivers/video/console/fbcon_rotate.ko at lt4.14 \
+	$(LINUX_DIR)/drivers/video/console/fbcon_cw.ko at lt4.14 \
+	$(LINUX_DIR)/drivers/video/console/fbcon_ud.ko at lt4.14 \
+	$(LINUX_DIR)/drivers/video/console/fbcon_ccw.ko at lt4.14 \
+	$(LINUX_DIR)/drivers/video/fbdev/core/fb.ko at ge4.14 \
 	$(LINUX_DIR)/lib/fonts/font.ko
   AUTOLOAD:=$(call AutoLoad,94,font softcursor tileblit fbcon_cw fbcon_ud fbcon_ccw fbcon_rotate bitblit fbcon)
 endef
-- 
2.11.0




More information about the Lede-dev mailing list