From: Liam Girdwood <liam.girdwood@wolfsonmicro.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel <alsa-devel@lists.sourceforge.net>
Subject: Re: [PATCH 1/5] ASoC: Build files
Date: Fri, 29 Sep 2006 14:56:07 +0100 [thread overview]
Message-ID: <1159538167.3170.73.camel@localhost.localdomain> (raw)
In-Reply-To: <s5hd59e51ba.wl%tiwai@suse.de>
[-- Attachment #1: Type: text/plain, Size: 1252 bytes --]
On Fri, 2006-09-29 at 14:01 +0200, Takashi Iwai wrote:
> At Fri, 22 Sep 2006 17:56:11 +0100,
> Liam Girdwood wrote:
> >
> > On Tue, 2006-09-19 at 14:20 +0200, Takashi Iwai wrote:
> > > At Fri, 15 Sep 2006 14:17:32 +0100,
> > > Liam Girdwood wrote:
> > > >
> > > > Index: alsa-kernel/soc/Kconfig
> > > > ===================================================================
> > > > --- /dev/null
> > > > +++ alsa-kernel/soc/Kconfig
> > > > @@ -0,0 +1,18 @@
> > > > +#
> > > > +# SoC audio configuration
> > > > +#
> > > > +
> > > > +menu "SoC audio support"
> > > > +
> > > > +config SND_SOC
> > > > + tristate "SoC audio support"
> > >
> > > Don't you need dependencies?
> > >
> >
> > I've set the deps (for each platform) in the child (asoc) Kconfig.
>
> But soc/Kconfig is always evaluated even if CONFIG_SND=n.
> If SoC depends on ALSA core layer, it should have "depends on SND"
> or "select SND" at least. Otherwise you can get a build error.
>
>
Fixed.
> BTW, any drivers using SoC are planned to be merged soon, too?
> It's always better to have a working driver together with the core
> stuff for pushing to upstream.
>
>
Np, I was waiting until after 1.0.13 final was released. It's late
today, so I'll submit on Monday.
Liam
[-- Attachment #2: asoc-build.patch --]
[-- Type: text/x-patch, Size: 1691 bytes --]
Index: alsa-kernel/Kconfig
===================================================================
--- alsa-kernel.orig/Kconfig
+++ alsa-kernel/Kconfig
@@ -76,6 +76,8 @@ source "sound/sparc/Kconfig"
source "sound/parisc/Kconfig"
+source "sound/soc/Kconfig"
+
endmenu
menu "Open Sound System"
Index: alsa-kernel/Makefile
===================================================================
--- alsa-kernel.orig/Makefile
+++ alsa-kernel/Makefile
@@ -4,7 +4,7 @@
obj-$(CONFIG_SOUND) += soundcore.o
obj-$(CONFIG_SOUND_PRIME) += oss/
obj-$(CONFIG_DMASOUND) += oss/
-obj-$(CONFIG_SND) += core/ i2c/ drivers/ isa/ pci/ ppc/ arm/ synth/ usb/ sparc/ parisc/ pcmcia/ mips/
+obj-$(CONFIG_SND) += core/ i2c/ drivers/ isa/ pci/ ppc/ arm/ synth/ usb/ sparc/ parisc/ pcmcia/ mips/ soc/
obj-$(CONFIG_SND_AOA) += aoa/
ifeq ($(CONFIG_SND),y)
Index: alsa-kernel/soc/Kconfig
===================================================================
--- /dev/null
+++ alsa-kernel/soc/Kconfig
@@ -0,0 +1,19 @@
+#
+# SoC audio configuration
+#
+
+menu "SoC audio support"
+ depends on SND!=n
+
+config SND_SOC
+ tristate "SoC audio support"
+ ---help---
+
+ If you want SoC support, you should say Y here and also to the
+ specific driver for your SoC below. You will also need to select the
+ specific codec(s) attached to the SoC
+
+ This SoC audio support can also be built as a module. If so, the module
+ will be called snd-soc-core.
+
+endmenu
Index: alsa-kernel/soc/Makefile
===================================================================
--- /dev/null
+++ alsa-kernel/soc/Makefile
@@ -0,0 +1,4 @@
+snd-soc-core-objs := soc-core.o soc-dapm.o
+
+obj-$(CONFIG_SND_SOC) += snd-soc-core.o
+
[-- Attachment #3: Type: text/plain, Size: 348 bytes --]
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
[-- Attachment #4: Type: text/plain, Size: 161 bytes --]
_______________________________________________
Alsa-devel mailing list
Alsa-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-devel
next prev parent reply other threads:[~2006-09-29 13:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-15 13:17 [PATCH 1/5] ASoC: Build files Liam Girdwood
2006-09-19 12:20 ` Takashi Iwai
2006-09-22 16:56 ` Liam Girdwood
2006-09-29 12:01 ` Takashi Iwai
2006-09-29 13:56 ` Liam Girdwood [this message]
2006-09-29 14:47 ` Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1159538167.3170.73.camel@localhost.localdomain \
--to=liam.girdwood@wolfsonmicro.com \
--cc=alsa-devel@lists.sourceforge.net \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.