]> err.no Git - linux-2.6/commitdiff
[ALSA] ASoC: Build files
authorLiam Girdwood <liam.girdwood@wolfsonmicro.com>
Fri, 6 Oct 2006 16:33:55 +0000 (18:33 +0200)
committerJaroslav Kysela <perex@suse.cz>
Fri, 9 Feb 2007 08:00:19 +0000 (09:00 +0100)
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>
sound/Kconfig
sound/Makefile
sound/soc/Kconfig [new file with mode: 0644]
sound/soc/Makefile [new file with mode: 0644]

index 9d77300746c648cdc6f9700605bc6666257fa5ca..97532bbc2ccba8fb301a6dfdd9991a3694012381 100644 (file)
@@ -76,6 +76,8 @@ source "sound/sparc/Kconfig"
 
 source "sound/parisc/Kconfig"
 
+source "sound/soc/Kconfig"
+
 endmenu
 
 menu "Open Sound System"
index 9aee54c4882d95549f9e2f046164ce43e86944d6..b7c7fb7c24c8f33e6071be8405ed821495afdc48 100644 (file)
@@ -5,7 +5,7 @@ obj-$(CONFIG_SOUND) += soundcore.o
 obj-$(CONFIG_SOUND_PRIME) += sound_firmware.o
 obj-$(CONFIG_SOUND_PRIME) += oss/
 obj-$(CONFIG_DMASOUND) += oss/
-obj-$(CONFIG_SND) += core/ i2c/ drivers/ isa/ pci/ ppc/ arm/ synth/ usb/ sparc/ parisc/ pcmcia/ mips/
+obj-$(CONFIG_SND) += core/ i2c/ drivers/ isa/ pci/ ppc/ arm/ synth/ usb/ sparc/ parisc/ pcmcia/ mips/ soc/
 obj-$(CONFIG_SND_AOA) += aoa/
 
 # 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 (file)
index 0000000..200709f
--- /dev/null
@@ -0,0 +1,19 @@
+#
+# SoC audio configuration
+#
+
+menu "SoC audio support"
+       depends on SND!=n
+
+config SND_SOC
+       tristate "SoC audio support"
+       ---help---
+
+         If you want SoC support, you should say Y here and also to the
+         specific driver for your SoC below. You will also need to select the
+         specific codec(s) attached to the SoC
+
+         This SoC audio support can also be built as a module.  If so, the module
+         will be called snd-soc-core.
+
+endmenu
diff --git a/sound/soc/Makefile b/sound/soc/Makefile
new file mode 100644 (file)
index 0000000..b211ee6
--- /dev/null
@@ -0,0 +1,4 @@
+snd-soc-core-objs := soc-core.o soc-dapm.o
+
+obj-$(CONFIG_SND_SOC)  += snd-soc-core.o
+