aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/modules/video.mk
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-07-25 14:01:54 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-07-25 14:01:54 +0000
commit080c55ae7ad0330d416a2b79eaca195bd76c4058 (patch)
tree8da026617c4ff569964b121f468391d29435b47f /package/kernel/modules/video.mk
parent964b79911d54fdd020181fb519fa6c7a0680e15f (diff)
downloadupstream-080c55ae7ad0330d416a2b79eaca195bd76c4058.tar.gz
upstream-080c55ae7ad0330d416a2b79eaca195bd76c4058.tar.bz2
upstream-080c55ae7ad0330d416a2b79eaca195bd76c4058.zip
[package] split framebuffer helper modules to their own packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32843 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/modules/video.mk')
-rw-r--r--package/kernel/modules/video.mk58
1 files changed, 49 insertions, 9 deletions
diff --git a/package/kernel/modules/video.mk b/package/kernel/modules/video.mk
index fecedb0f1b..24fff6d966 100644
--- a/package/kernel/modules/video.mk
+++ b/package/kernel/modules/video.mk
@@ -12,15 +12,9 @@ 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)
+ KCONFIG:=CONFIG_FB
+ FILES:=$(LINUX_DIR)/drivers/video/fb.ko
+ AUTOLOAD:=$(call AutoLoad,06,fb)
endef
define KernelPackage/fb/description
@@ -29,6 +23,52 @@ endef
$(eval $(call KernelPackage,fb))
+define KernelPackage/fb-cfb-fillrect
+ SUBMENU:=$(VIDEO_MENU)
+ TITLE:=Framebuffer software rectangle filling support
+ DEPENDS:=+kmod-fb
+ KCONFIG:=CONFIG_FB_CFB_FILLRECT
+ FILES:=$(LINUX_DIR)/drivers/video/cfbfillrect.ko
+ AUTOLOAD:=$(call AutoLoad,07,cfbfillrect)
+endef
+
+define KernelPackage/fb-cfb-fillrect/description
+ Kernel support for software rectangle filling
+endef
+
+$(eval $(call KernelPackage,fb-cfb-fillrect))
+
+
+define KernelPackage/fb-cfb-copyarea
+ SUBMENU:=$(VIDEO_MENU)
+ TITLE:=Framebuffer software copy area support
+ DEPENDS:=+kmod-fb
+ KCONFIG:=CONFIG_FB_CFB_COPYAREA
+ FILES:=$(LINUX_DIR)/drivers/video/cfbcopyarea.ko
+ AUTOLOAD:=$(call AutoLoad,07,cfbcopyarea)
+endef
+
+define KernelPackage/fb-cfb-copyarea/description
+ Kernel support for software copy area
+endef
+
+$(eval $(call KernelPackage,fb-cfb-copyarea))
+
+define KernelPackage/fb-cfb-imgblt
+ SUBMENU:=$(VIDEO_MENU)
+ TITLE:=Framebuffer software image blit support
+ DEPENDS:=+kmod-fb
+ KCONFIG:=CONFIG_FB_CFB_IMAGEBLIT
+ FILES:=$(LINUX_DIR)/drivers/video/cfbimgblt.ko
+ AUTOLOAD:=$(call AutoLoad,07,cfbimgblt)
+endef
+
+define KernelPackage/fb-cfb-imgblt/description
+ Kernel support for software image blitting
+endef
+
+$(eval $(call KernelPackage,fb-cfb-imgblt))
+
define KernelPackage/video-core
SUBMENU:=$(VIDEO_MENU)