diff options
author | Florian Fainelli <florian@openwrt.org> | 2012-07-24 19:43:27 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2012-07-24 19:43:27 +0000 |
commit | 8bf393f3e32fe619da25d6b74a74bee27730ee72 (patch) | |
tree | 1c53473127817dfe86cbc0e2ef4a1589c4681747 /package | |
parent | a4e930b56b09c358fd04e3ec7551a513b3077b45 (diff) | |
download | master-187ad058-8bf393f3e32fe619da25d6b74a74bee27730ee72.tar.gz master-187ad058-8bf393f3e32fe619da25d6b74a74bee27730ee72.tar.bz2 master-187ad058-8bf393f3e32fe619da25d6b74a74bee27730ee72.zip |
[package] create kmod-fb and update xen framebuffer module
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32805 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r-- | package/kernel/modules/video.mk | 22 | ||||
-rw-r--r-- | package/kernel/modules/virtual.mk | 5 |
2 files changed, 23 insertions, 4 deletions
diff --git a/package/kernel/modules/video.mk b/package/kernel/modules/video.mk index 14f32518a1..fecedb0f1b 100644 --- a/package/kernel/modules/video.mk +++ b/package/kernel/modules/video.mk @@ -8,6 +8,28 @@ 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 diff --git a/package/kernel/modules/virtual.mk b/package/kernel/modules/virtual.mk index 0089f93f96..a93875de35 100644 --- a/package/kernel/modules/virtual.mk +++ b/package/kernel/modules/virtual.mk @@ -88,14 +88,12 @@ endef $(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 \ @@ -104,7 +102,6 @@ define KernelPackage/xen-fbdev 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 \ |