diff options
author | Liam Girdwood <liam.girdwood@wolfsonmicro.com> | 2006-10-06 12:33:55 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2007-02-09 03:00:19 -0500 |
commit | a3288176de3fdd439d9bca0a0b9ca749c12ac5ac (patch) | |
tree | a332de50d6782f2edd41a5b75c9f69bf469b2776 | |
parent | 2b97eabc09f42d0f63e8053636e34e1afa0d604e (diff) |
[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>
-rw-r--r-- | sound/Kconfig | 2 | ||||
-rw-r--r-- | sound/Makefile | 2 | ||||
-rw-r--r-- | sound/soc/Kconfig | 19 | ||||
-rw-r--r-- | sound/soc/Makefile | 4 |
4 files changed, 26 insertions, 1 deletions
diff --git a/sound/Kconfig b/sound/Kconfig index 9d77300746c6..97532bbc2ccb 100644 --- a/sound/Kconfig +++ b/sound/Kconfig | |||
@@ -76,6 +76,8 @@ source "sound/sparc/Kconfig" | |||
76 | 76 | ||
77 | source "sound/parisc/Kconfig" | 77 | source "sound/parisc/Kconfig" |
78 | 78 | ||
79 | source "sound/soc/Kconfig" | ||
80 | |||
79 | endmenu | 81 | endmenu |
80 | 82 | ||
81 | menu "Open Sound System" | 83 | menu "Open Sound System" |
diff --git a/sound/Makefile b/sound/Makefile index 9aee54c4882d..b7c7fb7c24c8 100644 --- a/sound/Makefile +++ b/sound/Makefile | |||
@@ -5,7 +5,7 @@ obj-$(CONFIG_SOUND) += soundcore.o | |||
5 | obj-$(CONFIG_SOUND_PRIME) += sound_firmware.o | 5 | obj-$(CONFIG_SOUND_PRIME) += sound_firmware.o |
6 | obj-$(CONFIG_SOUND_PRIME) += oss/ | 6 | obj-$(CONFIG_SOUND_PRIME) += oss/ |
7 | obj-$(CONFIG_DMASOUND) += oss/ | 7 | 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/ |
9 | obj-$(CONFIG_SND_AOA) += aoa/ | 9 | obj-$(CONFIG_SND_AOA) += aoa/ |
10 | 10 | ||
11 | # This one must be compilable even if sound is configured out | 11 | # 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 index 000000000000..200709f4b708 --- /dev/null +++ b/sound/soc/Kconfig | |||
@@ -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 | ||
diff --git a/sound/soc/Makefile b/sound/soc/Makefile new file mode 100644 index 000000000000..b211ee63fd76 --- /dev/null +++ b/sound/soc/Makefile | |||
@@ -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 | |||