diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-08-28 12:58:30 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-08-29 21:58:19 +0100 |
commit | 674b49a7f7d28d84eeb7545e567bb4da6b9dcff9 (patch) | |
tree | 81f94673d3dceef6081226c87ff78c2bd240a188 /scripts/lib/devtool/ide_plugins | |
parent | 79253a5668dd6150066a8a89512f65dc940716a9 (diff) | |
download | poky-674b49a7f7d28d84eeb7545e567bb4da6b9dcff9.tar.gz |
lib/oe: Use new visitorcode functionality for qa.handle_error()
Early functions like do_recipe_qa (which do_fetch depends upon) reference
oe.qa.handle_error() which in turn adds dependencies on ERROR_QA and
WARN_QA. This means that ERROR_QA:append = " nothing" will cause
literally everything to rebuild and break sstate reuse.
Take advantage of new bitbake functionality to add a custom visitorcode
function to handle_error which optimises the references into contains
expressions which means the ERROR_QA and WARN_QA references are optmised
to containing specific strings. This dramatically improves sstate reuse.
The qa module has to be imported first since other code in later modules
references it and bitbake can't handle the dependency ordering internally
without a lot of unwanted complexity.
(From OE-Core rev: a911ea9659503e9442a183f366e4545a5efe246e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/ide_plugins')
0 files changed, 0 insertions, 0 deletions