Ok, I think I overstated things :) a couple of small targeted fixes incoming, no python rewrite.
Alex On Fri 2. Sep 2022 at 9.41, Alexander Kanavin via lists.openembedded.org <[email protected]> wrote: > On Fri, 2 Sept 2022 at 09:37, Richard Purdie > <[email protected]> wrote: > > > > We can however add a hint to check what is in > > > > build/conf/templateconf.cfg if the test fails, as it is not obvious > > > > that TEMPLATECONF obtained from there takes priority over other > > > > sources (which are, in order, TEMPLATECONF passed via environment, > > > > then .templateconf next to oe-init-build-env). > > > > > > Ok, the more I think about this, the more I'm convinced that > > > oe-setup-builddir needs a complete refactor. > > > > That script is meant to be really really simple and push any heavy > > lifting off to bitbake or other tools. Ideally we were never even meant > > to need such a script and the tools would "just work". I'd prefer it > > went away, not rewrite and grow it. > > Rewriting it in python will make it twice (or more) shorter, and the > order of templateconfs does need clarity and logic. We can leave the > 'config fragments' or anything more advanced out. > > Alex > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#170242): https://lists.openembedded.org/g/openembedded-core/message/170242 Mute This Topic: https://lists.openembedded.org/mt/93396426/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
