Skip to content

Commit

Permalink
[ALSA] ASoC codecs: build files
Browse files Browse the repository at this point in the history
This patch adds an ASoC Makefile and Kconfig for the WM8731, WM8750 and
WM9712 codecs.

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
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>
  • Loading branch information
Richard Purdie authored and Jaroslav Kysela committed Feb 9, 2007
1 parent dbc6b6a commit 7f137ab
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 1 deletion.
6 changes: 6 additions & 0 deletions sound/soc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
menu "SoC audio support"
depends on SND!=n

config SND_SOC_AC97_BUS
bool

config SND_SOC
tristate "SoC audio support"
---help---
Expand All @@ -16,4 +19,7 @@ config SND_SOC
This SoC audio support can also be built as a module. If so, the module
will be called snd-soc-core.

# Supported codecs
source "sound/soc/codecs/Kconfig"

endmenu
2 changes: 1 addition & 1 deletion sound/soc/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
snd-soc-core-objs := soc-core.o soc-dapm.o

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

obj-$(CONFIG_SND_SOC) += codecs/
15 changes: 15 additions & 0 deletions sound/soc/codecs/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
config SND_SOC_AC97_CODEC
tristate
depends SND_SOC

config SND_SOC_WM8731
tristate
depends SND_SOC

config SND_SOC_WM8750
tristate
depends SND_SOC

config SND_SOC_WM9712
tristate
depends SND_SOC
9 changes: 9 additions & 0 deletions sound/soc/codecs/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
snd-soc-ac97-objs := ac97.o
snd-soc-wm8731-objs := wm8731.o
snd-soc-wm8750-objs := wm8750.o
snd-soc-wm9712-objs := wm9712.o

obj-$(CONFIG_SND_SOC_AC97_CODEC) += snd-soc-ac97.o
obj-$(CONFIG_SND_SOC_WM8731) += snd-soc-wm8731.o
obj-$(CONFIG_SND_SOC_WM8750) += snd-soc-wm8750.o
obj-$(CONFIG_SND_SOC_WM9712) += snd-soc-wm9712.o

0 comments on commit 7f137ab

Please sign in to comment.