diff options
author | Andrei Gherzan <andrei.gherzan@huawei.com> | 2022-08-25 19:59:15 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-08-30 10:33:35 +0100 |
commit | 114d4048c182557f64e5d575742d622e191bed14 (patch) | |
tree | 119292d96a07f96d50575531919bc3f322999082 /documentation/set_versions.py | |
parent | f941dad9d723ead66b88b9905c40c4fbe7002936 (diff) | |
download | poky-114d4048c182557f64e5d575742d622e191bed14.tar.gz |
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>
Diffstat (limited to 'documentation/set_versions.py')
0 files changed, 0 insertions, 0 deletions