On Thu, 14 Mar 2024 at 10:04, Saswati Nayak <saswatinayak2...@gmail.com> wrote:
> My scenario will be , Suppose I am having a layer meta-A and in this layer 
> some directories structure is there such as recipes-bsp, recipes-kernel etc.
> in recipes-bsp I have a recipe atf_1.0.bb which has few keys which are stored 
> in files directory.
> and being used in meta-A also and meta-B also having the same recipe-bsp 
> which also need the same file to be used.
> How we can use the same files keeping it only in the meta-A/recipes-bsp 
> directory.
> Can you suggest some idea.

You can ensure that atf recipe installs the key files via
do_install(), and then if other recipes list atf in DEPENDS, then they
will have what it installs in their sysroots under ${WORKDIR}/. There
are a few details that need to be right, but this is the overall
approach I'd take.

Alex
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#62759): https://lists.yoctoproject.org/g/yocto/message/62759
Mute This Topic: https://lists.yoctoproject.org/mt/104902553/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to