[OE-core] [PATCH 1/1] base.bbclass: fix COMPATIBLE_MACHINE

Christopher Larson kergoth at gmail.com
Sun Apr 10 17:30:51 UTC 2016


On Sun, Apr 10, 2016 at 7:16 AM Robert Yang <liezhi.yang at windriver.com>
wrote:

> It mismatched such as qemux86 and qemux86-64 which was incorrect, for
> example:
> COMPATIBLE_MACHINE = "(qemux86)"
> But it treated MACHINE = "qemux86-64" as matched. The similar to others.
>
> This patch fixes the problem.
>
> Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
>

Did you verify that no recipes are in fact relying on this behavior? This
variable has always been a regex, so this has always been the case. Also
the ^ is unnecessary, re.match always matches at the beginning of the
string, re.search is the one that does not.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160410/e8bde02c/attachment-0002.html>


More information about the Openembedded-core mailing list