I think you can simply make it a class and put under classes/some.bbclass? Plenty of recipes in oe-core do this, see e.g. gnomebase.bbclass.
Alex On Tue, 23 Apr 2024 at 13:57, Altous, Salahaldeen via lists.yoctoproject.org <[email protected]> wrote: > > Hi All, > > I need a common place holder to share one include files which can be used by > multiple recipe (this include files includes some variables like SRC_URL, > tag, gitbranch, ..., etc). > > I can copy it to each recipe but I am looking for the best practice to share > a common inc file for all recipes in meta-xxx which can be found by default > and this need to be under meta-xxx folder. > > thanks in advance. > > > > Regards, > > Salahaldeen Altous > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#62986): https://lists.yoctoproject.org/g/yocto/message/62986 Mute This Topic: https://lists.yoctoproject.org/mt/105687839/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
