[OE-core] is standard for COMPATIBLE_MACHINE to use "()" or not?

Mike Looijmans mike.looijmans at topic.nl
Fri Mar 6 09:14:54 UTC 2015


On 05-03-15 09:43, Robert P. J. Day wrote:
>
>    a style guide thing ... it appears that COMPATIBLE_MACHINE happily
> acccepts a matching RE within parentheses or not, is there a
> preference?
>
>    also, in checking that, i ran across this in oe-core:
>
> linux-yocto_3.14.bb:COMPATIBLE_MACHINE = "qemuarm|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64"
> linux-yocto_3.19.bb:COMPATIBLE_MACHINE = "qemuarm|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64"
> linux-yocto-dev.bb:COMPATIBLE_MACHINE = "(qemuarm|qemux86|qemuppc|qemumips|qemumips64|qemux86-64)"

The regex should have been "qemu(arm|x86|ppc|mips|mips64|x86-64)"

And since "x86-64" already matches "x86", that could have been omitted.

> where the first two recipes list "qemuarm64" but the dev version
> doesn't ... is that deliberate?

Probably not, but "qemuarm64" matches "qemuarm" already.



Met vriendelijke groet / kind regards,

Mike Looijmans
System Expert


TOPIC Embedded Systems
Eindhovenseweg 32-C, NL-5683 KH Best
Postbus 440, NL-5680 AK Best
Telefoon: (+31) (0) 499 33 69 79
Telefax:  (+31) (0) 499 33 69 70
E-mail: mike.looijmans at topic.nl
Website: www.topic.nl

Please consider the environment before printing this e-mail

Topic zoekt gedreven (embedded) software specialisten!
http://topic.nl/vacatures/topic-zoekt-software-engineers/




More information about the Openembedded-core mailing list