Files
poky/meta/recipes-kernel
Andrei Gherzan 114d4048c1 linux-yocto: Fix COMPATIBLE_MACHINE regex match
With the current regex expression, a machine that is not part of the
compatible could match the regex expression.

For example, consider the following COMPATIBLE_MACHINE:

COMPATIBLE_MACHINE = "qemuarm|qemuarm64"

A machine definition bringing in "qemuarm-foo" would match against the
COMPATIBLE_MACHINE pattern above (see base.bbclass for implementation
details).

Fix this by matching the start and the end of the string.

(From OE-Core rev: 63db2c6baadb4b9aa0c8ae82a497f30840b3b347)

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-30 10:33:35 +01:00
..
2022-07-08 00:09:42 +01:00