[ep93xx] package more board specific modules:
[openwrt/svn-archive/archive.git] / target / linux / ep93xx / modules.mk
1 #
2 # Copyright (C) 2011 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 define KernelPackage/input-keyboard-ep93xx
9 SUBMENU:=$(OTHER_MENU)
10 TITLE:=EP93xx Matrix Keypad support
11 DEPENDS:=@TARGET_ep93xx
12 KCONFIG:= \
13 CONFIG_KEYBOARD_EP93XX \
14 CONFIG_INPUT_KEYBOARD=y
15 FILES:=$(LINUX_DIR)/drivers/input/keyboard/ep93xx_keypad.ko
16 AUTOLOAD:=$(call AutoLoad,62,ep93xx_keypad)
17 $(call AddDepends/input)
18 endef
19
20 define KernelPackage/input-keyboard-ep93xx/description
21 EP93xx Matrix Keypad support
22 endef
23
24 $(eval $(call KernelPackage,input-keyboard-ep93xx))
25
26
27 define KernelPackage/sound-soc-ep93xx
28 SUBMENU:=$(SOUND_MENU)
29 TITLE:=EP93xx SoC sound support
30 DEPENDS:=@TARGET_ep93xx +kmod-sound-core +kmod-sound-soc-core
31 KCONFIG:=CONFIG_SND_EP93XX_SOC
32 FILES:=$(LINUX_DIR)/sound/soc/ep93xx/snd-soc-ep93xx.ko
33 AUTOLOAD:=$(call AutoLoad,56,snd-soc-ep93xx)
34 endef
35
36 define KernelPackage/sound-soc-ep93xx/description
37 EP93xx SoC sound support
38 endef
39
40 $(eval $(call KernelPackage,sound-soc-ep93xx))
41
42 define KernelPackage/sound-soc-ep93xx-ac97
43 SUBMENU:=$(SOUND_MENU)
44 TITLE:=EP93xx SoC AC97 support
45 DEPENDS:=+kmod-sound-soc-ep93xx
46 KCONFIG:=CONFIG_SND_EP93XX_SOC_AC97
47 FILES:=$(LINUX_DIR)/sound/soc/ep93xx/snd-soc-ep93xx-ac97.ko
48 AUTOLOAD:=$(call AutoLoad,57,snd-soc-ep93xx-ac97)
49 endef
50
51 define KernelPackage/sound-soc-ep93xx-ac97/description
52 EP93xx SoC AC97 support
53 endef
54
55 $(eval $(call KernelPackage,sound-soc-ep93xx-ac97))
56
57 define KernelPackage/sound-soc-ep93xx-simone
58 SUBMENU:=$(SOUND_MENU)
59 TITLE:=Sim.One EP93xx Soc sound support
60 DEPENDS:=+kmod-sound-soc-ep93xx +kmod-sound-soc-ep93xx-ac97
61 KCONFIG:=CONFIG_SND_EP93XX_SOC_SIMONE
62 FILES:=$(LINUX_DIR)/sound/soc/ep93xx/snd-soc-simone.ko
63 AUTOLOAD:=$(call AutoLoad,57,snd-soc-ep93xx)
64 endef
65
66 define KernelPackage/sound-soc-ep93xx-simone/description
67 SimpleMachines Sim.One sound support
68 endef
69
70 $(eval $(call KernelPackage,sound-soc-ep93xx-simone))