aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-21 15:37:01 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-01-21 15:37:01 +0000
commit0a6919b8bcc1d7bd638391637044dde76dee01a3 (patch)
tree829ce0a6f4a3b6dc28f42d8e90d756e81d6c55d8 /package/kernel/linux
parent5a502875b183c0b86b284573b0bbbc30101f635c (diff)
downloadupstream-0a6919b8bcc1d7bd638391637044dde76dee01a3.tar.gz
upstream-0a6919b8bcc1d7bd638391637044dde76dee01a3.tar.bz2
upstream-0a6919b8bcc1d7bd638391637044dde76dee01a3.zip
kernel: video: add fbcon support
Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 48433
Diffstat (limited to 'package/kernel/linux')
-rw-r--r--package/kernel/linux/modules/video.mk49
1 files changed, 48 insertions, 1 deletions
diff --git a/package/kernel/linux/modules/video.mk b/package/kernel/linux/modules/video.mk
index 61d7d88497..cece87612f 100644
--- a/package/kernel/linux/modules/video.mk
+++ b/package/kernel/linux/modules/video.mk
@@ -61,7 +61,10 @@ define KernelPackage/fb
SUBMENU:=$(VIDEO_MENU)
TITLE:=Framebuffer support
DEPENDS:=@DISPLAY_SUPPORT
- KCONFIG:=CONFIG_FB
+ KCONFIG:= \
+ CONFIG_FB \
+ CONFIG_FB_MXS=n \
+ CONFIG_FB_SM750=n
FILES:=$(LINUX_DIR)/drivers/video/fbdev/core/fb.ko
AUTOLOAD:=$(call AutoLoad,06,fb)
endef
@@ -77,6 +80,50 @@ endef
$(eval $(call KernelPackage,fb))
+
+define KernelPackage/fbcon
+ SUBMENU:=$(VIDEO_MENU)
+ TITLE:=Framebuffer Console support
+ DEPENDS:=+kmod-fb
+ KCONFIG:= \
+ CONFIG_FRAMEBUFFER_CONSOLE \
+ CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y \
+ CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y \
+ CONFIG_FONTS=y \
+ CONFIG_FONT_8x8=y \
+ CONFIG_FONT_8x16=y \
+ CONFIG_FONT_6x11=n \
+ CONFIG_FONT_7x14=n \
+ CONFIG_FONT_PEARL_8x8=n \
+ CONFIG_FONT_ACORN_8x8=n \
+ CONFIG_FONT_MINI_4x6=n \
+ CONFIG_FONT_6x10=n \
+ CONFIG_FONT_SUN8x16=n \
+ CONFIG_FONT_SUN12x22=n \
+ CONFIG_FONT_10x18=n \
+ CONFIG_VT=y \
+ CONFIG_CONSOLE_TRANSLATIONS=y \
+ CONFIG_VT_CONSOLE=y \
+ CONFIG_VT_HW_CONSOLE_BINDING=y
+ $(call AddDepends/fb)
+ 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)/lib/fonts/font.ko
+ AUTOLOAD:=$(call AutoLoad,94,font softcursor tileblit fbcon_cw fbcon_ud fbcon_ccw fbcon_rotate bitblit fbcon)
+endef
+
+define KernelPackage/fbcon/description
+ Kernel support for framebuffer console
+endef
+
+$(eval $(call KernelPackage,fbcon))
+
define KernelPackage/fb-cfb-fillrect
SUBMENU:=$(VIDEO_MENU)
TITLE:=Framebuffer software rectangle filling support