[yocto] COMPATIBLE_HOST

Gary Thomas gary at mlbassoc.com
Mon Feb 2 07:44:14 PST 2015


On 2015-02-02 08:33, Richard Purdie wrote:
> On Mon, 2015-02-02 at 08:32 -0700, Gary Thomas wrote:
>> On 2015-02-02 08:28, Moore, Thomas (FtWorth) wrote:
>>> Gary,
>>>
>>> It seems like COMPATIBLE_MACHINE would have values such as
>> genericx86, qemux86-64, or beaglebone. If that's true, I don't think I
>> want to use COMPATIBLE_MACHINE as my recipes are only dependent on the
>> architecture.
>>
>> You can also use architecture here - basically anything that is an override can be used.
>> Similar to Ross' answer, I think this should work:
>>     COMPATIBLE_MACHINE = '(i.86|x86_64)'
>
> No, that syntax is for COMPATIBLE_HOST...

So how would one write this.

We use similar syntax to specify architecture dependencies
in some ARM recipes, e.g.
   COMPATIBLE_MACHINE = "ls102xa"
where ls102xa is an architecture (SOC) override and this allows
the recipe only for LS102x targets.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the yocto mailing list