aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiam Girdwood <liam.girdwood@wolfsonmicro.com>2006-10-06 12:33:55 -0400
committerJaroslav Kysela <perex@suse.cz>2007-02-09 03:00:19 -0500
commita3288176de3fdd439d9bca0a0b9ca749c12ac5ac (patch)
treea332de50d6782f2edd41a5b75c9f69bf469b2776
parent2b97eabc09f42d0f63e8053636e34e1afa0d604e (diff)
[ALSA] ASoC: Build files
This patch adds support for building the ASoC core and the dynamic audio power management support. Signed-off-by: Liam Girdwood <liam.girdwood@wolfsonmicro.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
-rw-r--r--sound/Kconfig2
-rw-r--r--sound/Makefile2
-rw-r--r--sound/soc/Kconfig19
-rw-r--r--sound/soc/Makefile4
4 files changed, 26 insertions, 1 deletions
diff --git a/sound/Kconfig b/sound/Kconfig
index 9d77300746c..97532bbc2cc 100644
--- a/sound/Kconfig
+++ b/sound/Kconfig
@@ -76,6 +76,8 @@ source "sound/sparc/Kconfig"
76 76
77source "sound/parisc/Kconfig" 77source "sound/parisc/Kconfig"
78 78
79source "sound/soc/Kconfig"
80
79endmenu 81endmenu
80 82
81menu "Open Sound System" 83menu "Open Sound System"
diff --git a/sound/Makefile b/sound/Makefile
index 9aee54c4882..b7c7fb7c24c 100644
--- a/sound/Makefile
+++ b/sound/Makefile
@@ -5,7 +5,7 @@ obj-$(CONFIG_SOUND) += soundcore.o
5obj-$(CONFIG_SOUND_PRIME) += sound_firmware.o 5obj-$(CONFIG_SOUND_PRIME) += sound_firmware.o
6obj-$(CONFIG_SOUND_PRIME) += oss/ 6obj-$(CONFIG_SOUND_PRIME) += oss/
7obj-$(CONFIG_DMASOUND) += oss/ 7obj-$(CONFIG_DMASOUND) += oss/
8obj-$(CONFIG_SND) += core/ i2c/ drivers/ isa/ pci/ ppc/ arm/ synth/ usb/ sparc/ parisc/ pcmcia/ mips/ 8obj-$(CONFIG_SND) += core/ i2c/ drivers/ isa/ pci/ ppc/ arm/ synth/ usb/ sparc/ parisc/ pcmcia/ mips/ soc/
9obj-$(CONFIG_SND_AOA) += aoa/ 9obj-$(CONFIG_SND_AOA) += aoa/
10 10
11# This one must be compilable even if sound is configured out 11# This one must be compilable even if sound is configured out
diff --git a/sound/soc/Kconfig b/sound/soc/Kconfig
new file mode 100644
index 00000000000..200709f4b70
--- /dev/null
+++ b/sound/soc/Kconfig
@@ -0,0 +1,19 @@
1#
2# SoC audio configuration
3#
4
5menu "SoC audio support"
6 depends on SND!=n
7
8config SND_SOC
9 tristate "SoC audio support"
10 ---help---
11
12 If you want SoC support, you should say Y here and also to the
13 specific driver for your SoC below. You will also need to select the
14 specific codec(s) attached to the SoC
15
16 This SoC audio support can also be built as a module. If so, the module
17 will be called snd-soc-core.
18
19endmenu
diff --git a/sound/soc/Makefile b/sound/soc/Makefile
new file mode 100644
index 00000000000..b211ee63fd7
--- /dev/null
+++ b/sound/soc/Makefile
@@ -0,0 +1,4 @@
1snd-soc-core-objs := soc-core.o soc-dapm.o
2
3obj-$(CONFIG_SND_SOC) += snd-soc-core.o
4