Skip to content

Commit

Permalink
[ALSA] ASoC: Build files
Browse files Browse the repository at this point in the history
This patch adds support for building the ASoC core and the dynamic audio
power management support.

Signed-off-by: Liam Girdwood <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Signed-off-by: Jaroslav Kysela <[email protected]>
  • Loading branch information
Liam Girdwood authored and Jaroslav Kysela committed Feb 9, 2007
1 parent 2b97eab commit a328817
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 1 deletion.
2 changes: 2 additions & 0 deletions sound/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ source "sound/sparc/Kconfig"

source "sound/parisc/Kconfig"

source "sound/soc/Kconfig"

endmenu

menu "Open Sound System"
Expand Down
2 changes: 1 addition & 1 deletion sound/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
19 changes: 19 additions & 0 deletions sound/soc/Kconfig
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions sound/soc/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
snd-soc-core-objs := soc-core.o soc-dapm.o

obj-$(CONFIG_SND_SOC) += snd-soc-core.o

0 comments on commit a328817

Please sign in to comment.