Skip to content

Commit a328817

Browse files
Liam GirdwoodJaroslav Kysela
authored andcommitted
[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>
1 parent 2b97eab commit a328817

4 files changed

Lines changed: 26 additions & 1 deletion

File tree

‎sound/Kconfig‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ source "sound/sparc/Kconfig"
7676

7777
source "sound/parisc/Kconfig"
7878

79+
source "sound/soc/Kconfig"
80+
7981
endmenu
8082

8183
menu "Open Sound System"

‎sound/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ obj-$(CONFIG_SOUND) += soundcore.o
55
obj-$(CONFIG_SOUND_PRIME) += sound_firmware.o
66
obj-$(CONFIG_SOUND_PRIME) += oss/
77
obj-$(CONFIG_DMASOUND) += oss/
8-
obj-$(CONFIG_SND) += core/ i2c/ drivers/ isa/ pci/ ppc/ arm/ synth/ usb/ sparc/ parisc/ pcmcia/ mips/
8+
obj-$(CONFIG_SND) += core/ i2c/ drivers/ isa/ pci/ ppc/ arm/ synth/ usb/ sparc/ parisc/ pcmcia/ mips/ soc/
99
obj-$(CONFIG_SND_AOA) += aoa/
1010

1111
# This one must be compilable even if sound is configured out

‎sound/soc/Kconfig‎

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#
2+
# SoC audio configuration
3+
#
4+
5+
menu "SoC audio support"
6+
depends on SND!=n
7+
8+
config 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+
19+
endmenu

‎sound/soc/Makefile‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
snd-soc-core-objs := soc-core.o soc-dapm.o
2+
3+
obj-$(CONFIG_SND_SOC) += snd-soc-core.o
4+

0 commit comments

Comments
 (0)