Re: [yocto] How to use a single directory in multiple layers.

2024-03-14 Thread Alexander Kanavin
On Thu, 14 Mar 2024 at 10:04, Saswati Nayak 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

Re: [yocto] How to use a single directory in multiple layers.

2024-03-14 Thread Saswati Nayak
Hello Alexander, 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

Re: [yocto] How to use a single directory in multiple layers.

2024-03-13 Thread Alexander Kanavin
Perhaps you can explain what is in that directory, and why do you need access to it from another layer. It's not a common scenario. Alex On Wed, 13 Mar 2024 at 11:38, Saswati Nayak wrote: > > Hello All, > > I require guidance on utilizing a file directory present in the > 'meta-x'

Re: [yocto] How to use a single directory in multiple layers.

2024-03-13 Thread Chen Qi via lists.yoctoproject.org
I haven't tested, but you can try: In meta-x's layer.conf: THIS_SPECIFIC_DIR = "${LAYERDIR}" Then use the variable THIS_SPECIFIC_DIR in other places including meta-y. Regards, Qi On 3/13/24 18:38, Saswati Nayak wrote: Hello All,          I require guidance on utilizing a file directory

[yocto] How to use a single directory in multiple layers.

2024-03-13 Thread Saswati Nayak
Hello All, I require guidance on utilizing a file directory present in the 'meta-x' layer while also needing access to the same directory within the 'meta-y' layer. How can I achieve this while keeping the directory centralized in one layer? Thanks & Regards Saswati