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 (#170238): 
https://lists.openembedded.org/g/openembedded-core/message/170238
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]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to