From mboxrd@z Thu Jan 1 00:00:00 1970 From: Liam Girdwood Subject: Re: [PATCH] Fix build of OMAP sound drivers Date: Thu, 10 Dec 2009 17:25:50 +0000 Message-ID: <1260465950.3625.213.camel@odin> References: <20091210171555.GB19668@lixom.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20091210171555.GB19668@lixom.net> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Olof Johansson Cc: alsa-devel@alsa-project.org, broonie@opensource.wolfsonmicro.com, Arun KS , Anuj Aggarwal , linux-omap@vger.kernel.org, Anand Gadiyar List-Id: linux-omap@vger.kernel.org On Thu, 2009-12-10 at 11:15 -0600, Olof Johansson wrote: > There are build errors when building for some of the omap2/3 boards without > enabling sound: > > sound/built-in.o:(.data+0x43bc): undefined reference to `soc_codec_dev_tlv320aic23' > sound/built-in.o:(.data+0x43cc): undefined reference to `tlv320aic23_dai' > > Confused me quite a bit since the drivers that had references to the > codec weren't enabled. Turns out the Makefile was using the wrong > config option to enable them. Patch below. > > > > Reported-by: Anand Gadiyar > Signed-off-by: Olof Johansson Acked-by: Liam Girdwood > > diff --git a/sound/soc/omap/Makefile b/sound/soc/omap/Makefile > index d49458a..3db8a6c 100644 > --- a/sound/soc/omap/Makefile > +++ b/sound/soc/omap/Makefile > @@ -23,9 +23,9 @@ obj-$(CONFIG_SND_OMAP_SOC_N810) += snd-soc-n810.o > obj-$(CONFIG_SND_OMAP_SOC_AMS_DELTA) += snd-soc-ams-delta.o > obj-$(CONFIG_SND_OMAP_SOC_OSK5912) += snd-soc-osk5912.o > obj-$(CONFIG_SND_OMAP_SOC_OVERO) += snd-soc-overo.o > -obj-$(CONFIG_MACH_OMAP2EVM) += snd-soc-omap2evm.o > -obj-$(CONFIG_MACH_OMAP3EVM) += snd-soc-omap3evm.o > -obj-$(CONFIG_MACH_OMAP3517EVM) += snd-soc-am3517evm.o > +obj-$(CONFIG_SND_OMAP_SOC_OMAP2EVM) += snd-soc-omap2evm.o > +obj-$(CONFIG_SND_OMAP_SOC_OMAP3EVM) += snd-soc-omap3evm.o > +obj-$(CONFIG_SND_OMAP_SOC_OMAP3517EVM) += snd-soc-am3517evm.o > obj-$(CONFIG_SND_OMAP_SOC_SDP3430) += snd-soc-sdp3430.o > obj-$(CONFIG_SND_OMAP_SOC_OMAP3_PANDORA) += snd-soc-omap3pandora.o > obj-$(CONFIG_SND_OMAP_SOC_OMAP3_BEAGLE) += snd-soc-omap3beagle.o > _______________________________________________ > Alsa-devel mailing list > Alsa-devel@alsa-project.org > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel