openwrt_archive/target/linux/cobalt/modules.mk
Florian Fainelli 27e5114a58 [cobalt] package buttons driver separately
SVN-Revision: 32841
2012-07-25 14:01:49 +00:00

37 lines
1002 B
Makefile

#
# Copyright (C) 2012 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
define KernelPackage/fb-cobalt
SUBMENU:=$(VIDEO_MENU)
TITLE:=Cobalt framebuffer support
DEPENDS:=@TARGET_cobalt +kmod-fb
KCONFIG:=CONFIG_FB_COBALT
FILES:=$(LINUX_DIR)/drivers/video/cobalt_lcdfb.ko
AUTOLOAD:=$(call AutoLoad,50,cobalt_lcdfb)
endef
define KernelPackage/fb-cobalt/descriptione
Kernel module for the Cobalt Microservers framebuffer
endef
$(eval $(call KernelPackage,fb-cobalt))
define KernelPackage/cobalt-btns
SUBMENU:=$(OTHER_MENU)
TITLE:=Cobalt buttons support
DEPENDS:=@TARGET_cobalt +kmod-input-evdev +kmod-input-polldev
KCONFIG:=CONFIG_INPUT_COBALT_BTNS
FILES:=$(LINUX_DIR)/drivers/input/misc/cobalt_btns.ko
AUTOLOAD:=$(call AutoLoad,62,cobalt_btns)
endef
define KernelPackage/cobalt-btns/description
Kernel module for the Cobalt Microservers buttons
endef
$(eval $(call KernelPackage,cobalt-btns))