Skip to contentSkip to conversation

base: Add deferred class event handler

PATCH Richard Purdie 1 participant 1 message Jun 9, 2025 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 11 lines · Richard Purdie via lists.openembedded.org

Use the new deferred class event to set the class overrides earlier. This improves interaction of the override with PACKAGECONFIG values that control conditional inherits (such as python support).

This also allows toolchain configuration in an easier and more user friendly way.

---
 meta/classes-global/base.bbclass | 11 ++++++++++-

 1 file changed, 10 insertions(+), 1 deletion(-)

The first set of 5 patches I just sent are probably ready to merge and good changes in general.

This second set are the more interesting ones and enable toolchain selection. They depend on three bitbake patches I just sent and there are elements in here I don't really like. This is the best method of enabling toolchain selection I've been able to find though after spending a lot of time on it.

I'm open to better ideas...

Cheers,

Richard