diff mbox series

layer.conf: Migrate to new layer format

Message ID 20261130152950.3473313-1-richard.purdie@linuxfoundation.org (mailing list archive)
State New
Headers show
Series layer.conf: Migrate to new layer format | expand

Commit Message

Richard Purdie Nov. 30, 2026, 3:29 p.m. UTC
Update meta-poky and meta-yocto-bsp to the new layer format.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta-poky/conf/layer.conf      | 22 ++++------------------
 meta-yocto-bsp/conf/layer.conf | 15 +++------------
 2 files changed, 7 insertions(+), 30 deletions(-)
diff mbox series

Patch

diff --git a/meta-poky/conf/layer.conf b/meta-poky/conf/layer.conf
index a92e635f64c..ecaa4e29348 100644
--- a/meta-poky/conf/layer.conf
+++ b/meta-poky/conf/layer.conf
@@ -1,18 +1,4 @@ 
-# We have a conf and classes directory, add to BBPATH
-BBPATH =. "${LAYERDIR}:"
-
-# We have recipes-* directories, add to BBFILES
-BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
-            ${LAYERDIR}/recipes-*/*/*.bbappend"
-
-BBFILE_COLLECTIONS += "yocto"
-BBFILE_PATTERN_yocto = "^${LAYERDIR}/"
-BBFILE_PRIORITY_yocto = "5"
-
-LAYERSERIES_COMPAT_yocto = "blacksail"
-
-# This should only be incremented on significant changes that will
-# cause compatibility issues with other layers
-LAYERVERSION_yocto = "3"
-
-LAYERDEPENDS_yocto = "core"
+LAYERNAME = "meta-yocto-poky"
+LAYERVERSION = "3"
+LAYERSERIES_COMPAT = "garburn"
+LAYERDEPENDS = "oe-core"
diff --git a/meta-yocto-bsp/conf/layer.conf b/meta-yocto-bsp/conf/layer.conf
index cbb8c82b033..44316ae0e1c 100644
--- a/meta-yocto-bsp/conf/layer.conf
+++ b/meta-yocto-bsp/conf/layer.conf
@@ -1,12 +1,3 @@ 
-# We have a conf and classes directory, add to BBPATH
-BBPATH .= ":${LAYERDIR}"
-
-# We have recipes-* directories, add to BBFILES
-BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
-            ${LAYERDIR}/recipes-*/*/*.bbappend"
-
-BBFILE_COLLECTIONS += "yoctobsp"
-BBFILE_PATTERN_yoctobsp = "^${LAYERDIR}/"
-BBFILE_PRIORITY_yoctobsp = "5"
-LAYERVERSION_yoctobsp = "4"
-LAYERSERIES_COMPAT_yoctobsp = "blacksail"
+LAYERNAME = "meta-yocto-bsp"
+LAYERVERSION = "4"
+LAYERSERIES_COMPAT = "garburn"