diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-06-06 11:44:43 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-06-16 22:23:18 +0100 |
commit | f2a15854e2ed9d6e5be395bfe2b92f8fed6f897a (patch) | |
tree | b66e2829520a70ad17f3629f37aedb69cae82823 /scripts/lib/mic/3rdparty/pykickstart/errors.py | |
parent | e000d803bf9768f698a6f83acf44227bc9408f33 (diff) | |
download | poky-f2a15854e2ed9d6e5be395bfe2b92f8fed6f897a.tar.gz |
bitbake: ast: Change deferred inherits to happen per recipe
Currently deferred inherits get processed once for all class extensions
as a minor speed optimisation. Unfortunately this limits our options for
being able to report deferred classes to our code.
There are two challenges with using our deferred classes in OE at present.
One is that PACKAGECONFIG values don't work well with class overrides like
class-native if there are deferred classes based on PACKAGECONFIG, such
as python support. The second is that toolchain selection is proving
problematic to implement due to interactions between the toolchain deferred
inherit, the class extensions and class overrides being very late.
By changing deferred inherits to be recipe extension specific, we open
the way to generate events and "peek" at where things will end up,
allowing the class overrides to be set earlier.
The class extension code is updated to use a deferred inherit for the
class extension inheriting so that it is still inherited last.
(Bitbake rev: 29277cf4d88eb4dfa9572851177d009eab5afd0c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/mic/3rdparty/pykickstart/errors.py')
0 files changed, 0 insertions, 0 deletions