aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ep93xx
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2011-08-11 11:18:44 +0000
committerFlorian Fainelli <florian@openwrt.org>2011-08-11 11:18:44 +0000
commitb968a100483fbe18783e7152589854c72bbe6923 (patch)
tree91db99c107a8ea601fa81a193e71798e6f2c8c75 /target/linux/ep93xx
parent3e164ffb65566a78b591150e805f717232e05719 (diff)
downloadupstream-b968a100483fbe18783e7152589854c72bbe6923.tar.gz
upstream-b968a100483fbe18783e7152589854c72bbe6923.tar.bz2
upstream-b968a100483fbe18783e7152589854c72bbe6923.zip
[ep93xx] package more board specific modules:
- keyboard matrix driver - SoC sound support based on patch by KanjiMonster git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27957 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ep93xx')
-rw-r--r--target/linux/ep93xx/modules.mk70
1 files changed, 70 insertions, 0 deletions
diff --git a/target/linux/ep93xx/modules.mk b/target/linux/ep93xx/modules.mk
new file mode 100644
index 0000000000..3fc691f4c2
--- /dev/null
+++ b/target/linux/ep93xx/modules.mk
@@ -0,0 +1,70 @@
+#
+# Copyright (C) 2011 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define KernelPackage/input-keyboard-ep93xx
+ SUBMENU:=$(OTHER_MENU)
+ TITLE:=EP93xx Matrix Keypad support
+ DEPENDS:=@TARGET_ep93xx
+ KCONFIG:= \
+ CONFIG_KEYBOARD_EP93XX \
+ CONFIG_INPUT_KEYBOARD=y
+ FILES:=$(LINUX_DIR)/drivers/input/keyboard/ep93xx_keypad.ko
+ AUTOLOAD:=$(call AutoLoad,62,ep93xx_keypad)
+ $(call AddDepends/input)
+endef
+
+define KernelPackage/input-keyboard-ep93xx/description
+ EP93xx Matrix Keypad support
+endef
+
+$(eval $(call KernelPackage,input-keyboard-ep93xx))
+
+
+define KernelPackage/sound-soc-ep93xx
+ SUBMENU:=$(SOUND_MENU)
+ TITLE:=EP93xx SoC sound support
+ DEPENDS:=@TARGET_ep93xx +kmod-sound-core +kmod-sound-soc-core
+ KCONFIG:=CONFIG_SND_EP93XX_SOC
+ FILES:=$(LINUX_DIR)/sound/soc/ep93xx/snd-soc-ep93xx.ko
+ AUTOLOAD:=$(call AutoLoad,56,snd-soc-ep93xx)
+endef
+
+define KernelPackage/sound-soc-ep93xx/description
+ EP93xx SoC sound support
+endef
+
+$(eval $(call KernelPackage,sound-soc-ep93xx))
+
+define KernelPackage/sound-soc-ep93xx-ac97
+ SUBMENU:=$(SOUND_MENU)
+ TITLE:=EP93xx SoC AC97 support
+ DEPENDS:=+kmod-sound-soc-ep93xx
+ KCONFIG:=CONFIG_SND_EP93XX_SOC_AC97
+ FILES:=$(LINUX_DIR)/sound/soc/ep93xx/snd-soc-ep93xx-ac97.ko
+ AUTOLOAD:=$(call AutoLoad,57,snd-soc-ep93xx-ac97)
+endef
+
+define KernelPackage/sound-soc-ep93xx-ac97/description
+ EP93xx SoC AC97 support
+endef
+
+$(eval $(call KernelPackage,sound-soc-ep93xx-ac97))
+
+define KernelPackage/sound-soc-ep93xx-simone
+ SUBMENU:=$(SOUND_MENU)
+ TITLE:=Sim.One EP93xx Soc sound support
+ DEPENDS:=+kmod-sound-soc-ep93xx +kmod-sound-soc-ep93xx-ac97
+ KCONFIG:=CONFIG_SND_EP93XX_SOC_SIMONE
+ FILES:=$(LINUX_DIR)/sound/soc/ep93xx/snd-soc-simone.ko
+ AUTOLOAD:=$(call AutoLoad,57,snd-soc-ep93xx)
+endef
+
+define KernelPackage/sound-soc-ep93xx-simone/description
+ SimpleMachines Sim.One sound support
+endef
+
+$(eval $(call KernelPackage,sound-soc-ep93xx-simone))