VIDEO_MENU:=Video Support
+
+define KernelPackage/fb
+ SUBMENU:=$(VIDEO_MENU)
+ TITLE:=Framebuffer support
+ KCONFIG:=CONFIG_FB \
+ CONFIG_FB_CFB_FILLRECT \
+ CONFIG_FB_CFB_COPYAREA \
+ CONFIG_FB_CFB_IMAGEBLIT
+ FILES:=$(LINUX_DIR)/drivers/video/fb.ko \
+ $(LINUX_DIR)/drivers/video/cfbfillrect.ko \
+ $(LINUX_DIR)/drivers/video/cfbcopyarea.ko \
+ $(LINUX_DIR)/drivers/video/cfbimgblt.ko
+ AUTOLOAD:=$(call AutoLoad,06,fb cfbfillrect cfbcopyarea cfbimgblt)
+endef
+
+define KernelPackage/fb/description
+ Kernel support for framebuffers
+endef
+
+$(eval $(call KernelPackage,fb))
+
+
define KernelPackage/video-core
SUBMENU:=$(VIDEO_MENU)
TITLE=Video4Linux support
$(eval $(call KernelPackage,xen-evtchn))
-# FIXME: the FB support should be moved to a separate kmod
define KernelPackage/xen-fbdev
SUBMENU:=$(VIRTUAL_MENU)
TITLE:=Xen virtual frame buffer
- DEPENDS:=@TARGET_x86_xen_domu
+ DEPENDS:=@TARGET_x86_xen_domu +kmod-fb
KCONFIG:= \
CONFIG_XEN_FBDEV_FRONTEND \
- CONFIG_FB \
CONFIG_FB_DEFERRED_IO=y \
CONFIG_FB_SYS_COPYAREA \
CONFIG_FB_SYS_FILLRECT \
CONFIG_FIRMWARE_EDID=n
FILES:= \
$(LINUX_DIR)/drivers/video/xen-fbfront.ko \
- $(LINUX_DIR)/drivers/video/fb.ko \
$(LINUX_DIR)/drivers/video/syscopyarea.ko \
$(LINUX_DIR)/drivers/video/sysfillrect.ko \
$(LINUX_DIR)/drivers/video/fb_sys_fops.ko \