diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-06-10 15:53:27 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-08-12 10:05:11 +0100 |
commit | bdb5e99854c76f31d5463f55a657d40098a0743a (patch) | |
tree | 1b77d9e688cc1ab0002695b84a50e80ceda37494 /scripts/lib/build_perf | |
parent | 7c9a1f20f1f07d8a946f300878e680103d70ac84 (diff) | |
download | poky-bdb5e99854c76f31d5463f55a657d40098a0743a.tar.gz |
classes/lib: Switch classextend to use new filter API
Currently, class extensions are implmented using shadow variables and
access indirection which is horribly ineffient and ugly.
Switch to using the new bitbake filter API, which allows a translation
of the variable before the expanded value is returned. This allows us
to drop the shadow variable accesses. It also avoids the need to iterate
PACKAGES and make many variable changes since a filter against RDEPENDS
applies to RDEPENDS:${PN} and all of it's other overridden values.
Since data expansion happens at access, it also avoids many of the race
conditions this code has tranditionally been plagued with.
(From OE-Core rev: 24a9858a8927e91d499ee342ed93a0dbb44d83bc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/build_perf')
0 files changed, 0 insertions, 0 deletions