[oe] PREFERRED_PROVIDER_x/y = "z" versus PREFERRED_PROVIDER += " x/y:z"

Leon Woestenberg leon.woestenberg at gmail.com
Thu Sep 4 22:44:11 UTC 2008


Hello Phil,

On Thu, Sep 4, 2008 at 11:34 PM, Phil Blundell <pb at reciva.com> wrote:
> On Thu, 2008-09-04 at 22:38 +0200, Leon Woestenberg wrote:
>> can someone explain the (subtle) differences between
>> PREFERRED_PROVIDER_x/y = "z"
>> PREFERRED_PROVIDER += " x/y:z"
>> ?
>
> As far as I remember, there's no real difference between those two
> things at the bitbake level.  I think the latter syntax came first, but
>
OK, I wonder if variables inside are handled identically in both cases?

PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross"

> Personally I would recommend that you always use the former syntax.  I
> can't think of any situation where the latter is necessary or desirable.
>
So, anyone objections if I change all occurences?

Regards,
-- 
Leon

* this question is intended to awaken those developers that know there
is a very subtle difference involved.




More information about the Openembedded-devel mailing list