diff options
author | Andrei Gherzan <andrei.gherzan@huawei.com> | 2022-08-30 16:19:28 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-09-03 13:09:49 +0100 |
commit | 2823418c13d5f353a7ee7c5907c8f656c86f0aab (patch) | |
tree | c568572b343448b28da40b510e501346433e435e /LICENSE | |
parent | 520fca8908fd73bbc1123f7080f2cb6486870d35 (diff) | |
download | poky-2823418c13d5f353a7ee7c5907c8f656c86f0aab.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: 26a6fdef2a6c91c7ad3dde932596a17ffed6ca7b)
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions