On Tue, Oct 18, 2022 at 11:54 PM Alexander Kanavin <alex.kana...@gmail.com> wrote: > > On Wed, 19 Oct 2022 at 08:34, Khem Raj <raj.k...@gmail.com> wrote: > > > > On Tue, Oct 18, 2022 at 10:42 PM Alexander Kanavin > > <alex.kana...@gmail.com> wrote: > > > > > > Can you show examples where this is needed? Custom variable does not seem > > > a good idea. I also worry that it’ll break automated updates (it’s bad > > > enough with mesa-gl, this might make it worse). > > > > https://github.com/ndechesne/meta-qcom/blob/master/recipes-graphics/mesa/mesa_git.bb > > "require recipes-graphics/mesa/mesa.inc" > > Using recipe includes across layers like this is not a good idea. It > imposes requirements on core to continue providing the .inc, and not > doing anything with mesa that can 'break' users of that include. >
the reason for .inc to exist does include this usecase. oe-core metadata is extensible by these constructs, it's similar to bbclass perhaps a bit smaller in scope. Getting rid of .inc will state that we do not allow other layers to use it. These are APIs of sorts that oe-core exports and people build on them, its fine if they should be changed but there should some well understood path otherwise they just make hard things harder. The load of upgrading from one release to other is already high and it keeps going up. > Please make it self-contained. > > Alex
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#171969): https://lists.openembedded.org/g/openembedded-core/message/171969 Mute This Topic: https://lists.openembedded.org/mt/94420106/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-