Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Jörg Krause" <joerg.krause@embedded.rocks>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] imx-alsa-plugins: new package
Date: Thu, 01 Feb 2018 11:03:19 +0100	[thread overview]
Message-ID: <1517479399.2404.20.camel@embedded.rocks> (raw)
In-Reply-To: <20180201092039.hl4li2jfkkm66inx@tarshish>

Hi Baruch,

On Thu, 2018-02-01 at 11:20 +0200, Baruch Siach wrote:
> Hi J?rg,
> 
> On Thu, Feb 01, 2018 at 10:06:51AM +0100, J?rg Krause wrote:
> > On Thu, 2018-02-01 at 09:55 +0100, Marcus Folkesson wrote:
> > > On Sun, Jan 28, 2018 at 10:23:46PM +0100, J?rg Krause wrote: 
> > > > diff --git a/package/freescale-imx/imx-alsa-plugins/Config.in b/package/freescale-imx/imx-alsa-plugins/Config.in
> > > > new file mode 100644
> > > > index 0000000000..57ce6216f3
> > > > --- /dev/null
> > > > +++ b/package/freescale-imx/imx-alsa-plugins/Config.in
> > > > @@ -0,0 +1,23 @@
> > > > +config BR2_PACKAGE_IMX_ALSA_PLUGINS
> > > > +	bool "imx-alsa-plugins"
> > > > +	depends on BR2_arm # Only relevant for i.MX
> > > > +	depends on BR2_LINUX_KERNEL
> > > > +	depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib
> > > > +	select BR2_PACKAGE_ALSA_LIB
> > > > +	help
> > > > +	  ALSA plugins specific for the Freescale i.MX platform. It
> > > > +	  requires a kernel that includes the i.MX specific headers
> > > > +	  to be built.
> > > > +
> > > > +	  The following plugins are provided so far:
> > > > +	    * Rate Converter Plugin Using Freescale ASRC Hardware
> > > > +	      Resampler (i.MX53 and most i.MX6)
> > > > +
> > > > +	  This package is provided by Freescale as-is and doesn't have
> > > > +	  an upstream.
> > > > +
> > > > +comment "imx-alsa-libs needs an imx-specific Linux kernel to be built"
> > > > +	depends on BR2_arm && !BR2_LINUX_KERNEL
> > > > +
> > > > +comment "imx-alsa-libs needs a toolchain w/ threads"
> > > > +	depends on !BR2_TOOLCHAIN_HAS_THREADS
> > > 
> > > Should we not be depend on BR2_arm here as well?
> > 
> > There are two comments. One for the imx-specific Linux kernel and one
> > for the threads-dependency.
> 
> But we don't want the threads dependency comment to show when the architecture 
> is something other than arm. This is because adding threads support would only 
> eliminate the comment, but the imx-alsa-plugins package will still not be 
> selectable.
> 
> We usually do this in a separate 'depends' line, so:
> 
> comment "imx-alsa-libs needs a toolchain w/ threads"
>     depends on BR2_arm
>     depends on !BR2_TOOLCHAIN_HAS_THREADS
> 
> baruch
> 

I see! I'll send a new version of the patch.

J?rg

      reply	other threads:[~2018-02-01 10:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-28 21:23 [Buildroot] [PATCH] imx-alsa-plugins: new package Jörg Krause
2018-02-01  8:55 ` Marcus Folkesson
2018-02-01  9:06   ` Jörg Krause
2018-02-01  9:20     ` Baruch Siach
2018-02-01 10:03       ` Jörg Krause [this message]

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=1517479399.2404.20.camel@embedded.rocks \
    --to=joerg.krause@embedded.rocks \
    --cc=buildroot@busybox.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox