All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Yang <liezhi.yang@windriver.com>
To: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: openembedded-core <openembedded-core@lists.openembedded.org>
Subject: Re: [RFC PATCH] bitbake.conf: Stop providing ${P} and ${PF} by default
Date: Thu, 12 Sep 2013 10:17:30 +0800	[thread overview]
Message-ID: <5231243A.2060704@windriver.com> (raw)
In-Reply-To: <1378894228.3484.176.camel@ted>



On 09/11/2013 06:10 PM, Richard Purdie wrote:
> On Wed, 2013-09-11 at 17:31 +0800, Robert Yang wrote:
>>
>> On 09/10/2013 10:08 PM, Richard Purdie wrote:
>>> On Tue, 2013-09-10 at 15:33 +0800, Robert Yang wrote:
>>>> Thanks, Can we provide a replacement for the "bitbake PN-PV" since it is
>>>> useful, for example, can we support the PREFERRED_VERSION_${PN} in the env
>>>> in the future ? There is a similar bug:
>>>>
>>>> https://bugzilla.yoctoproject.org/show_bug.cgi?id=4965
>>>
>>> If you set BB_PRESERVE_ENV=1 you can set PREFERRED_VERSION_xxx from the
>>> environment so this should already be possible?
>>>
>>
>> It seems that the BB_PRESERVE_ENV=1 doesn't work, but we use the
>> BB_ENV_EXTRAWHITE, for example:
>>
>> $ export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE PREFERRED_VERSION_make"
>> $ export PREFERRED_VERSION_make="3.81",
>>
>> Then it works, maybe something is wrong with the BB_PRESERVE_ENV.
>
> It is broken, yes, I've sent out a patch to fix it. There is one other

Thanks, it worked now.

> problem, you can't use "-" in a shell environment variable so you can't
> do:
>
> PREFERRED_VERSION_make-native = xxx
>
> which is annoying. We might want to add some kind of mangling mechanism
> like a double underscore translating to a dash or something...
>

I will update these in the bugzilla

// Robert

> Cheers,
>
> Richard
>
>
>
>


  reply	other threads:[~2013-09-12  2:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-09 14:14 [RFC PATCH] bitbake.conf: Stop providing ${P} and ${PF} by default Richard Purdie
2013-09-09 18:19 ` Chris Larson
2013-09-10  7:33 ` Robert Yang
2013-09-10 14:08   ` Richard Purdie
2013-09-11  9:31     ` Robert Yang
2013-09-11 10:10       ` Richard Purdie
2013-09-12  2:17         ` Robert Yang [this message]
2013-09-12  7:23 ` Robert Yang

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=5231243A.2060704@windriver.com \
    --to=liezhi.yang@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=richard.purdie@linuxfoundation.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 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.