[alsa-devel] building soc module drivers
broonie at sirena.org.uk
Wed Mar 25 12:15:02 CET 2009
On Wed, Mar 25, 2009 at 12:26:36PM +0800, Geiger Ho wrote:
> I would like to build the WM8510 SOC sound driver for my ARM platform.
> After downloading alsa-driver-1.0.19, "./configure
> --with-cross=arm-linux- --with-kernel=/home/source/linux-18.104.22.168
> --with-build=/home/source/linux-22.214.171.124 --with-cards=all", and then
> make. I get no wm8510.c compiled. What other stuff should I do to make
> it compiled? Many thanks.
You need to either write a machine driver which uses the codec driver and
have the kernel configuration for that select the codec driver or select
SND_SOC_ALL_CODECS to build all the codec drivers if your module is not
part of your normal kernel sources.
See Documentation/sound/alsa/soc for an overview of the programming
model - there are many example machine drivers in the source.
More information about the Alsa-devel