[oe] COMPATIBLE_MACHINE

Chris Larson clarson at kergoth.com
Fri Apr 20 14:04:26 UTC 2012


On Fri, Apr 20, 2012 at 6:20 AM, Gary Thomas <gary at mlbassoc.com> wrote:
> I'm writing a .bbappend for a recipe which contains a COMPATIBLE_MACHINE
> pattern like this:
>  COMPATIBLE_MACHINE = "(machine1|machine2|machine3)"
>
> Is there a way my .bbappend file can add to this pattern?  I don't want
> to disturb what's there, just add my machine as well.

It's just a standard regular expression.

COMPATIBLE_MACHINE = "(machine1|machine2|machine3)"
COMPATIBLE_MACHINE .= "|machine4"

Will result in a value of "(machine1|machine2|machine3)|machine4",
which is still a perfectly valid pattern, as far as I can tell.
-- 
Christopher Larson




More information about the Openembedded-devel mailing list