[Openembedded-architecture] incompatible machine
Denys Dmytriyenko
denis at denix.org
Fri Dec 18 16:52:45 UTC 2015
On Fri, Dec 18, 2015 at 04:19:34PM +0000, Richard Purdie wrote:
> On Fri, 2015-12-18 at 10:48 -0500, Trevor Woerner wrote:
> > It's too bad there wasn't an "INCOMPATIBLE_MACHINE" for when one
> > machine/architecture stops being supported by a recipe. It would be
> > easier than trying to list every other machine that is compatible.
>
> COMPATIBLE_MACHINE is a regexp so you could use something like negative
> lookahead?
>
> COMPATIBLE_MACHINE = "^(?!.*somemachine).*$"
>
> I've not tested it but something like this should work in theory.
Yep, I've been using it for years even back in Classic OE:
http://arago-project.org/git/?p=arago.git;a=blob;f=recipes/meta/board-set.bb;hb=HEAD
Basically, it's "(?!machinename)", but Richard's example above have extra
regexp magic that you may or may not need.
--
Denys
More information about the Openembedded-architecture
mailing list