Skip to contentSkip to conversation

layer.conf: update LAYERSERIES_COMPAT for mickledore

PATCH In review Naveen Saini 2 participants 2 messages Jan 4, 2023 – Jan 15, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 layer.conf: update LAYERSERIES_COMPAT for mickledore

oe-core switched to mickedore in:
https://git.openembedded.org/openembedded-core/commit/?id=57239d66b933c4313cf331d35d13ec2d0661c38f

Drop support for old releases.

---
 meta-zephyr-bsp/conf/layer.conf                             | 4 +---
 meta-zephyr-bsp/conf/machine/include/tune-corei7-common.inc | 4 ++--
 meta-zephyr-bsp/conf/machine/qemu-x86.conf                  | 2 +-
 meta-zephyr-core/conf/layer.conf                            | 4 +---
 4 files changed, 5 insertions(+), 9 deletions(-)
meta-zephyr-bsp/conf/layer.conf +1 -3
index cbbaafe..d809926 100644
@@ -15,6 +15,4 @@ LAYERVERSION_zephyrbsp = "1"
 
 LAYERDEPENDS_zephyrbsp = "zephyrcore core meta-python"
 
-LAYERSERIES_COMPAT_zephyrbsp = "dunfell gatesgarth hardknott honister kirkstone langdale"
-
-X86_TUNE_DIR = "${@bb.utils.contains_any('LAYERSERIES_CORENAMES', 'honister kirkstone langdale', 'include/x86', 'include', d)}"
+LAYERSERIES_COMPAT_zephyrbsp = "kirkstone langdale mickledore"
meta-zephyr-bsp/conf/machine/include/tune-corei7-common.inc +2 -2
index b68fc05..6975c50 100644
@@ -1,6 +1,6 @@
 DEFAULTTUNE ?= "corei7-64"
-require conf/machine/${X86_TUNE_DIR}/tune-corei7.inc
-require conf/machine/${X86_TUNE_DIR}/x86-base.inc
+require conf/machine/include/x86/tune-corei7.inc
+require conf/machine/include/x86/x86-base.inc
 
 # Add x86 to MACHINEOVERRIDE
 MACHINEOVERRIDES =. "x86:"
meta-zephyr-bsp/conf/machine/qemu-x86.conf +1 -1
index 0333d7c..d21de35 100644
@@ -3,7 +3,7 @@
 #@DESCRIPTION: Machine for Zephyr BOARD qemu_x86
 
 require conf/machine/include/qemu.inc
-require conf/machine/${X86_TUNE_DIR}/tune-i586.inc
+require conf/machine/include/x86/tune-i586.inc
 
 ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot"
 
meta-zephyr-core/conf/layer.conf +1 -3
index 2b1c821..fdff4f6 100644
@@ -15,9 +15,7 @@ LAYERVERSION_zephyrcore = "1"
 
 LAYERDEPENDS_zephyrcore = "core meta-python"
 
-LAYERSERIES_COMPAT_zephyrcore = "dunfell gatesgarth hardknott honister kirkstone langdale"
-
-X86_TUNE_DIR = "${@bb.utils.contains_any('LAYERSERIES_CORENAMES', 'honister kirkstone langdale', 'include/x86', 'include', d)}"
+LAYERSERIES_COMPAT_zephyrcore = "kirkstone langdale mickledore"
 
 PYTHON3_NATIVE_SITEPACKAGES_DIR = "${libdir_native}/${PYTHON3_DIR}/site-packages"
 
Signature · 1 line
2.25.1
Tested-by on v1 1/1
#1 lore raw
Quoted 6 lines · Naveen Saini

oe-core switched to mickedore in:
https://git.openembedded.org/openembedded-core/commit/?id=57239d66b933c4313cf331d35d13ec2d0661c38f

Drop support for old releases.

I ran this series (batched with the other patches destined for the master branch) though CI and it passes (with the known qemu a9 poll issue). See:
https://gitlab.com/jonmason00/meta-zephyr/-/pipelines/747733921

Quoted 64 lines
---
 meta-zephyr-bsp/conf/layer.conf                             | 4 +---
 meta-zephyr-bsp/conf/machine/include/tune-corei7-common.inc | 4 ++--
 meta-zephyr-bsp/conf/machine/qemu-x86.conf                  | 2 +-
 meta-zephyr-core/conf/layer.conf                            | 4 +---
 4 files changed, 5 insertions(+), 9 deletions(-)
meta-zephyr-bsp/conf/layer.conf +1 -3
index cbbaafe..d809926 100644
@@ -15,6 +15,4 @@ LAYERVERSION_zephyrbsp = "1"
 
 LAYERDEPENDS_zephyrbsp = "zephyrcore core meta-python"
 
-LAYERSERIES_COMPAT_zephyrbsp = "dunfell gatesgarth hardknott honister kirkstone langdale"
-
-X86_TUNE_DIR = "${@bb.utils.contains_any('LAYERSERIES_CORENAMES', 'honister kirkstone langdale', 'include/x86', 'include', d)}"
+LAYERSERIES_COMPAT_zephyrbsp = "kirkstone langdale mickledore"
meta-zephyr-bsp/conf/machine/include/tune-corei7-common.inc +2 -2
index b68fc05..6975c50 100644
@@ -1,6 +1,6 @@
 DEFAULTTUNE ?= "corei7-64"
-require conf/machine/${X86_TUNE_DIR}/tune-corei7.inc
-require conf/machine/${X86_TUNE_DIR}/x86-base.inc
+require conf/machine/include/x86/tune-corei7.inc
+require conf/machine/include/x86/x86-base.inc
 
 # Add x86 to MACHINEOVERRIDE
 MACHINEOVERRIDES =. "x86:"
meta-zephyr-bsp/conf/machine/qemu-x86.conf +1 -1
index 0333d7c..d21de35 100644
@@ -3,7 +3,7 @@
 #@DESCRIPTION: Machine for Zephyr BOARD qemu_x86
 
 require conf/machine/include/qemu.inc
-require conf/machine/${X86_TUNE_DIR}/tune-i586.inc
+require conf/machine/include/x86/tune-i586.inc
 
 ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot"
 
meta-zephyr-core/conf/layer.conf +1 -3
index 2b1c821..fdff4f6 100644
@@ -15,9 +15,7 @@ LAYERVERSION_zephyrcore = "1"
 
 LAYERDEPENDS_zephyrcore = "core meta-python"
 
-LAYERSERIES_COMPAT_zephyrcore = "dunfell gatesgarth hardknott honister kirkstone langdale"
-
-X86_TUNE_DIR = "${@bb.utils.contains_any('LAYERSERIES_CORENAMES', 'honister kirkstone langdale', 'include/x86', 'include', d)}"
+LAYERSERIES_COMPAT_zephyrcore = "kirkstone langdale mickledore"
 
 PYTHON3_NATIVE_SITEPACKAGES_DIR = "${libdir_native}/${PYTHON3_DIR}/site-packages"
 
Signature · 1 line
2.25.1