[alsa-devel] Problem about building alsa driver for wm8974 on i.mx27 platform

jjinfo at nudt.edu.cn jjinfo at nudt.edu.cn
Sat Mar 20 07:24:59 CET 2010


Hi,

I'm trying to build alsa-1.0.22 driver for my wm8974 codec on i.Mx27 platform.
I need to cross compile it on x86 platform for i.Mx27.
Here is my configure options:

./configure --wit-cross=arm-linux- --with-kernel=<path-to-ARM-kernel>
--with-build=<path-to-kernel> 

When configure process completes, a "toplevel.config" file is generated. But in
the toplevel.config file, the following config options are not set by the
configure process( which prevent wm8974 driver from being built):
 
CONFIG_SND_MX1_MX2_SOC=
CONFIG_ARCH_MX2=
CONFIG_ARCH_MX1=
CONFIG_SND_MXC_SOC_SSI=
CONFIG_SND_SOC_MX27VIS_WM8974=
CONFIG_MACH_MX27=
CONFIG_MACH_IMX27_VISSTRIM_M10=

Since the default value of "--with-cards" is "all", why these options are not
set?
(Event I specifiy --with-cards=soc, mx1-mx2-soc, soc-mx27vis-wm8974, these options
are still not set in toplevel.config.)

Any idea?

Regards,
Jie





More information about the Alsa-devel mailing list