summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-07-24 19:43:45 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-07-24 19:43:45 +0000
commit6852680f2dcc4db4ff8b1f35f8398da9d3ae4d09 (patch)
tree64686bb8166c5bccd5682d68467a39c5f0b8331b
parent6c435d6654c510ac3815a394912aa788caf44776 (diff)
[omap24x] move target specific modules to target's module.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32808 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/kernel/modules/sound.mk40
-rw-r--r--target/linux/omap24xx/modules.mk46
2 files changed, 46 insertions, 40 deletions
diff --git a/package/kernel/modules/sound.mk b/package/kernel/modules/sound.mk
index 1d2190f24..f054d870c 100644
--- a/package/kernel/modules/sound.mk
+++ b/package/kernel/modules/sound.mk
@@ -172,46 +172,6 @@ endef
$(eval $(call KernelPackage,sound-soc-core))
-define KernelPackage/sound-soc-omap
- TITLE:=OMAP SoC sound support
- KCONFIG:= \
- CONFIG_SND_OMAP_SOC
- FILES:=$(LINUX_DIR)/sound/soc/omap/snd-soc-omap.ko
- AUTOLOAD:=$(call AutoLoad,60,snd-soc-omap)
- DEPENDS:=@TARGET_omap24xx +kmod-sound-soc-core
- $(call AddDepends/sound)
-endef
-
-$(eval $(call KernelPackage,sound-soc-omap))
-
-
-define KernelPackage/sound-soc-omap-mcbsp
- TITLE:=OMAP SoC MCBSP support
- KCONFIG:= \
- CONFIG_SND_OMAP_SOC_MCBSP
- FILES:=$(LINUX_DIR)/sound/soc/omap/snd-soc-omap-mcbsp.ko
- AUTOLOAD:=$(call AutoLoad,61,snd-soc-omap-mcbsp)
- DEPENDS:=@TARGET_omap24xx +kmod-sound-soc-omap
- $(call AddDepends/sound)
-endef
-
-$(eval $(call KernelPackage,sound-soc-omap-mcbsp))
-
-
-define KernelPackage/sound-soc-n810
- TITLE:=Nokia n810 SoC sound support
- KCONFIG:= \
- CONFIG_SND_OMAP_SOC_N810
- FILES:= \
- $(LINUX_DIR)/sound/soc/codecs/snd-soc-tlv320aic3x.ko \
- $(LINUX_DIR)/sound/soc/omap/snd-soc-n810.ko
- AUTOLOAD:=$(call AutoLoad,65,snd-soc-tlv320aic3x snd-soc-n810)
- DEPENDS:=@TARGET_omap24xx +kmod-sound-soc-omap +kmod-sound-soc-omap-mcbsp
- $(call AddDepends/sound)
-endef
-
-$(eval $(call KernelPackage,sound-soc-n810))
-
define KernelPackage/sound-soc-ac97
TITLE:=AC97 Codec support
KCONFIG:=CONFIG_SND_SOC_AC97_CODEC
diff --git a/target/linux/omap24xx/modules.mk b/target/linux/omap24xx/modules.mk
new file mode 100644
index 000000000..1664e05c8
--- /dev/null
+++ b/target/linux/omap24xx/modules.mk
@@ -0,0 +1,46 @@
+#
+# Copyright (C) 2012 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define KernelPackage/sound-soc-omap
+ TITLE:=OMAP SoC sound support
+ KCONFIG:= \
+ CONFIG_SND_OMAP_SOC
+ FILES:=$(LINUX_DIR)/sound/soc/omap/snd-soc-omap.ko
+ AUTOLOAD:=$(call AutoLoad,60,snd-soc-omap)
+ DEPENDS:=@TARGET_omap24xx +kmod-sound-soc-core
+ $(call AddDepends/sound)
+endef
+
+$(eval $(call KernelPackage,sound-soc-omap))
+
+
+define KernelPackage/sound-soc-omap-mcbsp
+ TITLE:=OMAP SoC MCBSP support
+ KCONFIG:= \
+ CONFIG_SND_OMAP_SOC_MCBSP
+ FILES:=$(LINUX_DIR)/sound/soc/omap/snd-soc-omap-mcbsp.ko
+ AUTOLOAD:=$(call AutoLoad,61,snd-soc-omap-mcbsp)
+ DEPENDS:=@TARGET_omap24xx +kmod-sound-soc-omap
+ $(call AddDepends/sound)
+endef
+
+$(eval $(call KernelPackage,sound-soc-omap-mcbsp))
+
+
+define KernelPackage/sound-soc-n810
+ TITLE:=Nokia n810 SoC sound support
+ KCONFIG:= \
+ CONFIG_SND_OMAP_SOC_N810
+ FILES:= \
+ $(LINUX_DIR)/sound/soc/codecs/snd-soc-tlv320aic3x.ko \
+ $(LINUX_DIR)/sound/soc/omap/snd-soc-n810.ko
+ AUTOLOAD:=$(call AutoLoad,65,snd-soc-tlv320aic3x snd-soc-n810)
+ DEPENDS:=@TARGET_omap24xx +kmod-sound-soc-omap +kmod-sound-soc-omap-mcbsp
+ $(call AddDepends/sound)
+endef
+
+$(eval $(call KernelPackage,sound-soc-n810))