aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/cobalt/modules.mk
blob: 79cef87cac61177019fd2599d85b85f32776e9c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#
# 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))