[alsa-devel] [PATCH] ASoC: dmaengine: Correct Makefile when sound is built as module

Péter Ujfalusi peter.ujfalusi at ti.com
Mon Oct 8 13:50:56 CEST 2012


Hi Mark,

On 10/01/2012 12:29 PM, Peter Ujfalusi wrote:
> soc-dmaengine-pcm library need to be part of the snd-soc-core in order to
> be able to compile ASoC as modules when dmaengine is enabled on the platform.

Would it be possible to schedule this patch for 3.7? I'm sure if you build any
platform which uses dmaegine for audio and compile the audio as module you
will also have errors about missing symbols.

Thank you,
Péter
> 
> Signed-off-by: Peter Ujfalusi <peter.ujfalusi at ti.com>
> ---
>  sound/soc/Makefile | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/sound/soc/Makefile b/sound/soc/Makefile
> index bcbf1d0..99f32f7 100644
> --- a/sound/soc/Makefile
> +++ b/sound/soc/Makefile
> @@ -1,8 +1,9 @@
>  snd-soc-core-objs := soc-core.o soc-dapm.o soc-jack.o soc-cache.o soc-utils.o
>  snd-soc-core-objs += soc-pcm.o soc-compress.o soc-io.o
>  
> -snd-soc-dmaengine-pcm-objs := soc-dmaengine-pcm.o
> -obj-$(CONFIG_SND_SOC_DMAENGINE_PCM) += snd-soc-dmaengine-pcm.o
> +ifneq ($(CONFIG_SND_SOC_DMAENGINE_PCM),)
> +snd-soc-core-objs += soc-dmaengine-pcm.o
> +endif
>  
>  obj-$(CONFIG_SND_SOC)	+= snd-soc-core.o
>  obj-$(CONFIG_SND_SOC)	+= codecs/
> 




More information about the Alsa-devel mailing list