Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: "Burton, Ross" <ross.burton@intel.com>, Jens Rehsack <sno@netbsd.org>
Cc: OE-core <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH v2 1/2] perl{, -native}: Update 5.24.4 -> 5.28.1
Date: Mon, 17 Dec 2018 12:42:59 +0000	[thread overview]
Message-ID: <30c758bde6695a33dbdce671a42032a55bcb762e.camel@linuxfoundation.org> (raw)
In-Reply-To: <CAJTo0LY-EVMH5AM-_7VnvFTBnZt=RB5oCGBQbSSf8n-U83vtFQ@mail.gmail.com>

On Mon, 2018-12-17 at 12:36 +0000, Burton, Ross wrote:
> Yes, there's plenty of prior art in OE, but please can we use this in
> the future:
> 
> threadmulti = "${@["",
> "-thread-multi"][bb.utils.contains('PACKAGECONFIG', 'thread', 1, 0,
> d)]}"
> threadmulti = "${"-thread-multi" if bb.utils.contains('PACKAGECONFIG',
> 'thread', True, False, d) else ""}"

That last one is missing a @.

We could also just use:

threadmulti = "${@bb.utils.contains('PACKAGECONFIG', 'thread', -thread-multi, "", d)}"

Cheers,

Richard



      reply	other threads:[~2018-12-17 12:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-15 12:57 [PATCH v2 1/2] perl{,-native}: Update 5.24.4 -> 5.28.1 Jens Rehsack
2018-12-16 10:00 ` [PATCH v2 1/2] perl{, -native}: " Khem Raj
2018-12-17 12:36 ` Burton, Ross
2018-12-17 12:42   ` Richard Purdie [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=30c758bde6695a33dbdce671a42032a55bcb762e.camel@linuxfoundation.org \
    --to=richard.purdie@linuxfoundation.org \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=ross.burton@intel.com \
    --cc=sno@netbsd.org \
    /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