[OE-core] [RFC PATCH] bitbake.conf: Stop providing ${P} and ${PF} by default

Robert Yang liezhi.yang at windriver.com
Wed Sep 11 09:31:00 UTC 2013



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.

// Robert

> Cheers,
>
> Richard
>
>
>



More information about the Openembedded-core mailing list