summaryrefslogtreecommitdiffstats
path: root/documentation/dev-manual
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2025-06-06 11:44:43 +0100
committerSteve Sakoman <steve@sakoman.com>2025-06-11 08:17:34 -0700
commit320b76cc477069d619fd44d28608d9d2c1efe77c (patch)
tree0a591d806cd692e033c92051cc21bd10940ec7b4 /documentation/dev-manual
parent4bca6762e5baa7c8cb90b4f2f13f4cb3e2e9942e (diff)
downloadpoky-320b76cc477069d619fd44d28608d9d2c1efe77c.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: 139f61fe9eec221745184a14b3618d2dfa650b91) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'documentation/dev-manual')
0 files changed, 0 insertions, 0 deletions