Message ID | 20250605032306.3073101-1-sandeep.gundlupet-raju@amd.com |
---|---|
State | New |
Headers | show |
Series | [meta-zephyr,walnascar,scarthgap,master] layer.conf: Add LAYERBASE_zephyrcore variable | expand |
> -----Original Message----- > From: yocto-patches@lists.yoctoproject.org <yocto- > patches@lists.yoctoproject.org> On Behalf Of Sandeep Gundlupet Raju via > lists.yoctoproject.org > Sent: Thursday, 5 June, 2025 11:23 AM > To: yocto-patches@lists.yoctoproject.org > Cc: naveen.kumar.saini@intel.com > Subject: [yocto-patches] [meta-zephyr][walnascar,scarthgap,master][PATCH] > layer.conf: Add LAYERBASE_zephyrcore variable > > Add LAYERBASE_zephyrcore variable so that files from meta-zephyr-core can be > accessed from other layers. > > Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> > Signed-off-by: Sandeep Gundlupet Raju <grsandeep85@gmail.com> > --- > meta-zephyr-core/conf/layer.conf | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/meta-zephyr-core/conf/layer.conf b/meta-zephyr-core/conf/layer.conf > index e1bb263..a4b3555 100644 > --- a/meta-zephyr-core/conf/layer.conf > +++ b/meta-zephyr-core/conf/layer.conf > @@ -20,3 +20,6 @@ LAYERSERIES_COMPAT_zephyrcore = "kirkstone scarthgap" > PYTHON3_NATIVE_SITEPACKAGES_DIR = > "${libdir_native}/${PYTHON3_DIR}/site-packages" > > addpylib ${LAYERDIR}/lib oeqa > + > +# Allow other layers to find the root of this layer if necessary. > +LAYERBASE_zephyrcore = "${LAYERDIR}"[] can you please further explain the problem and the usage for this variable? LAYERBASE doesn't seems like standard variable > -- > 2.34.1 > > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#1617): https://lists.yoctoproject.org/g/yocto- > patches/message/1617 > Mute This Topic: https://lists.yoctoproject.org/mt/113479750/1648606 > Group Owner: yocto-patches+owner@lists.yoctoproject.org > Unsubscribe: https://lists.yoctoproject.org/g/yocto- > patches/leave/13233161/1648606/629479993/xyzzy [chee.yang.lee@intel.com] > -=-=-=-=-=-=-=-=-=-=-=- >
diff --git a/meta-zephyr-core/conf/layer.conf b/meta-zephyr-core/conf/layer.conf index e1bb263..a4b3555 100644 --- a/meta-zephyr-core/conf/layer.conf +++ b/meta-zephyr-core/conf/layer.conf @@ -20,3 +20,6 @@ LAYERSERIES_COMPAT_zephyrcore = "kirkstone scarthgap" PYTHON3_NATIVE_SITEPACKAGES_DIR = "${libdir_native}/${PYTHON3_DIR}/site-packages" addpylib ${LAYERDIR}/lib oeqa + +# Allow other layers to find the root of this layer if necessary. +LAYERBASE_zephyrcore = "${LAYERDIR}"