diff options
| author | Richard Purdie <rpurdie@rpsys.net> | 2006-10-06 12:38:37 -0400 |
|---|---|---|
| committer | Jaroslav Kysela <perex@suse.cz> | 2007-02-09 03:00:25 -0500 |
| commit | 7f137ab673124ee0a210ab5b74c1f7234d6145fa (patch) | |
| tree | 8bd5c9718a0c4d98a64a80a42ff000599382fee7 | |
| parent | dbc6b6ad767c86907db373e85139b0e975ba7599 (diff) | |
[ALSA] ASoC codecs: build files
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>
| -rw-r--r-- | sound/soc/Kconfig | 6 | ||||
| -rw-r--r-- | sound/soc/Makefile | 2 | ||||
| -rw-r--r-- | sound/soc/codecs/Kconfig | 15 | ||||
| -rw-r--r-- | sound/soc/codecs/Makefile | 9 |
4 files changed, 31 insertions, 1 deletions
diff --git a/sound/soc/Kconfig b/sound/soc/Kconfig index 200709f4b708..288bad30b213 100644 --- a/sound/soc/Kconfig +++ b/sound/soc/Kconfig | |||
| @@ -5,6 +5,9 @@ | |||
| 5 | menu "SoC audio support" | 5 | menu "SoC audio support" |
| 6 | depends on SND!=n | 6 | depends on SND!=n |
| 7 | 7 | ||
| 8 | config SND_SOC_AC97_BUS | ||
| 9 | bool | ||
| 10 | |||
| 8 | config SND_SOC | 11 | config SND_SOC |
| 9 | tristate "SoC audio support" | 12 | tristate "SoC audio support" |
| 10 | ---help--- | 13 | ---help--- |
| @@ -16,4 +19,7 @@ config SND_SOC | |||
| 16 | This SoC audio support can also be built as a module. If so, the module | 19 | This SoC audio support can also be built as a module. If so, the module |
| 17 | will be called snd-soc-core. | 20 | will be called snd-soc-core. |
| 18 | 21 | ||
| 22 | # Supported codecs | ||
| 23 | source "sound/soc/codecs/Kconfig" | ||
| 24 | |||
| 19 | endmenu | 25 | endmenu |
diff --git a/sound/soc/Makefile b/sound/soc/Makefile index b211ee63fd76..3dd4f20c5ecf 100644 --- a/sound/soc/Makefile +++ b/sound/soc/Makefile | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | snd-soc-core-objs := soc-core.o soc-dapm.o | 1 | snd-soc-core-objs := soc-core.o soc-dapm.o |
| 2 | 2 | ||
| 3 | obj-$(CONFIG_SND_SOC) += snd-soc-core.o | 3 | obj-$(CONFIG_SND_SOC) += snd-soc-core.o |
| 4 | 4 | obj-$(CONFIG_SND_SOC) += codecs/ | |
diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig new file mode 100644 index 000000000000..78ac2688e124 --- /dev/null +++ b/sound/soc/codecs/Kconfig | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | config SND_SOC_AC97_CODEC | ||
| 2 | tristate | ||
| 3 | depends SND_SOC | ||
| 4 | |||
| 5 | config SND_SOC_WM8731 | ||
| 6 | tristate | ||
| 7 | depends SND_SOC | ||
| 8 | |||
| 9 | config SND_SOC_WM8750 | ||
| 10 | tristate | ||
| 11 | depends SND_SOC | ||
| 12 | |||
| 13 | config SND_SOC_WM9712 | ||
| 14 | tristate | ||
| 15 | depends SND_SOC | ||
diff --git a/sound/soc/codecs/Makefile b/sound/soc/codecs/Makefile new file mode 100644 index 000000000000..3249a6e4f1d0 --- /dev/null +++ b/sound/soc/codecs/Makefile | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | snd-soc-ac97-objs := ac97.o | ||
| 2 | snd-soc-wm8731-objs := wm8731.o | ||
| 3 | snd-soc-wm8750-objs := wm8750.o | ||
| 4 | snd-soc-wm9712-objs := wm9712.o | ||
| 5 | |||
| 6 | obj-$(CONFIG_SND_SOC_AC97_CODEC) += snd-soc-ac97.o | ||
| 7 | obj-$(CONFIG_SND_SOC_WM8731) += snd-soc-wm8731.o | ||
| 8 | obj-$(CONFIG_SND_SOC_WM8750) += snd-soc-wm8750.o | ||
| 9 | obj-$(CONFIG_SND_SOC_WM9712) += snd-soc-wm9712.o | ||
