Skip to contentSkip to conversation

topics/baicow01/zephyr-ARCH-remove: Remove ARCH from meta-zephyr

PATCH In review Ben Cownley 2 participants 4 messages Sep 25, 2024 – Oct 16, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 topics/baicow01/zephyr-ARCH-remove: Remove ARCH from meta-zephyr

meta-zephyr current passes an ARCH variable to the CMake build It's widely believed this is no longer necessary as it is inferred from the BOARD variable

---
 meta-zephyr-bsp/conf/machine/96b-avenger96.conf                  | 1 -
 meta-zephyr-bsp/conf/machine/96b-nitrogen.conf                   | 1 -
 meta-zephyr-bsp/conf/machine/arduino-nano-33-ble.conf            | 1 -
 meta-zephyr-bsp/conf/machine/frdm-kw41z.conf                     | 1 -
 meta-zephyr-bsp/conf/machine/intel-x86-64.conf                   | 1 -
 meta-zephyr-bsp/conf/machine/mps2-an385.conf                     | 1 -
 meta-zephyr-bsp/conf/machine/mps2-an521.conf                     | 1 -
 meta-zephyr-bsp/conf/machine/mps3-an547.conf                     | 1 -
 meta-zephyr-bsp/conf/machine/nrf52840-mdk-usb-dongle.conf        | 1 -
 meta-zephyr-bsp/conf/machine/nrf52840dk-nrf52840.conf            | 1 -
 meta-zephyr-bsp/conf/machine/qemu-cortex-a53.conf                | 1 -
 meta-zephyr-bsp/conf/machine/qemu-cortex-a9.conf                 | 1 -
 meta-zephyr-bsp/conf/machine/qemu-cortex-m0.conf                 | 1 -
 meta-zephyr-bsp/conf/machine/qemu-cortex-m3.conf                 | 1 -
 meta-zephyr-bsp/conf/machine/qemu-cortex-r5.conf                 | 1 -
 meta-zephyr-bsp/conf/machine/qemu-nios2.conf                     | 1 -
 meta-zephyr-bsp/conf/machine/qemu-x86.conf                       | 1 -
 meta-zephyr-bsp/conf/machine/stm32mp157c-dk2.conf                | 1 -
 meta-zephyr-bsp/conf/machine/v2m-beetle.conf                     | 1 -
 meta-zephyr-bsp/conf/machine/v2m-musca-b1.conf                   | 1 -
 meta-zephyr-bsp/conf/machine/v2m-musca-s1.conf                   | 1 -
 .../recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc        | 1 -
 22 files changed, 22 deletions(-)
meta-zephyr-bsp/conf/machine/96b-avenger96.conf +0 -1
index ae6f972..5c493b1 100644
@@ -5,4 +5,3 @@
 
 require conf/machine/include/stm32mp1-cortex-m4.inc
 
-ARCH:96b-avenger96 = "arm"
meta-zephyr-bsp/conf/machine/96b-nitrogen.conf +0 -1
index affe9eb..65bdfbf 100644
@@ -5,4 +5,3 @@
 
 require conf/machine/include/nrf52.inc
 ZEPHYR_INHERIT_CLASSES += "zephyr-flash-pyocd"
-ARCH:96b-nitrogen = "arm"
meta-zephyr-bsp/conf/machine/arduino-nano-33-ble.conf +0 -1
index ebf4155..c6ffa67 100644
@@ -5,5 +5,4 @@
 
 require conf/machine/include/nrf52.inc
 ZEPHYR_INHERIT_CLASSES += "zephyr-flash-bossac"
-ARCH:arduino-nano-33-ble = "arm"
 
meta-zephyr-bsp/conf/machine/frdm-kw41z.conf +0 -1
index 464e83a..46b1e0e 100755
@@ -6,6 +6,5 @@
 
 require conf/machine/include/arm/armv6m/tune-cortexm0plus.inc
 
-ARCH:frdm-kw41z = "arm"
 
 DEFAULTUNE ?= "cortexm0plus"
meta-zephyr-bsp/conf/machine/intel-x86-64.conf +0 -1
index 5112f28..4bda0cd 100644
@@ -4,7 +4,6 @@
 
 require conf/machine/include/tune-corei7-common.inc
 
-ARCH:intel-x86-64 = "x86"
 
 # Supported Boards:
 # ZEPHYR_BOARD ?= "acrn"
meta-zephyr-bsp/conf/machine/mps2-an385.conf +0 -1
index 159e1bd..bb67972 100644
@@ -16,4 +16,3 @@ QB_OPT_APPEND = "-icount shift=7,align=off,sleep=off -rtc clock=vm"
 
 # Zephyr RTOS settings
 ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot"
-ARCH:mps2-an385 = "arm"
meta-zephyr-bsp/conf/machine/mps2-an521.conf +0 -1
index acd02be..fb763ea 100644
@@ -18,4 +18,3 @@ QB_OPT_APPEND = "-icount shift=7,align=off,sleep=off -rtc clock=vm"
 
 # Zephyr RTOS settings
 ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot"
-ARCH:mps2-an521 = "arm"
meta-zephyr-bsp/conf/machine/mps3-an547.conf +0 -1
index 185c425..c3ebd2c 100644
@@ -17,4 +17,3 @@ QB_OPT_APPEND = "-icount shift=7,align=off,sleep=off -rtc clock=vm"
 
 # Zephyr RTOS settings
 ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot"
-ARCH:mps3-an547 = "arm"
meta-zephyr-bsp/conf/machine/nrf52840-mdk-usb-dongle.conf +0 -1
index 67e407a..448f1ed 100644
@@ -4,4 +4,3 @@
 #@DESCRIPTION: Machine configuration for makerdiary's nrf52840-mdk-usb-dongle
 
 require conf/machine/include/nrf52.inc
-ARCH:nrf52840-mdk-usb-dongle = "arm"
meta-zephyr-bsp/conf/machine/nrf52840dk-nrf52840.conf +0 -1
index 258aa7a..bd99878 100644
@@ -5,4 +5,3 @@
 
 require conf/machine/include/nrf52.inc
 ZEPHYR_INHERIT_CLASSES += "zephyr-flash-pyocd"
-ARCH:nrf52840dk-nrf52840 = "arm"
meta-zephyr-bsp/conf/machine/qemu-cortex-a53.conf +0 -1
index e21f3da..4a511f9 100644
@@ -17,4 +17,3 @@ QB_OPT_APPEND = "-icount shift=4,align=off,sleep=on -rtc clock=vm"
 # Zephyr RTOS settings
 ZEPHYR_BOARD = "qemu_cortex_a53"
 ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot"
-ARCH:qemu-cortex-a53 = "aarch64"
meta-zephyr-bsp/conf/machine/qemu-cortex-a9.conf +0 -1
index 9dfee42..4ce6e56 100644
@@ -17,4 +17,3 @@ QB_OPT_APPEND = "-icount shift=3,align=off,sleep=off -rtc clock=vm"
 
 # Zephyr RTOS settings
 ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot"
-ARCH:qemu-cortex-a9 = "arm"
meta-zephyr-bsp/conf/machine/qemu-cortex-m0.conf +0 -1
index 736579e..9a01efd 100644
@@ -21,4 +21,3 @@ QB_OPT_APPEND = "-icount shift=6,align=off,sleep=off -rtc clock=vm"
 # Zephyr RTOS settings
 ZEPHYR_BOARD = "qemu_cortex_m0"
 ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot"
-ARCH:qemu-cortex-m0 = "arm"
meta-zephyr-bsp/conf/machine/qemu-cortex-m3.conf +0 -1
index 904a79b..2314dc5 100644
@@ -15,4 +15,3 @@ QB_CPU = "-cpu cortex-m3"
 QB_RNG = ""
 QB_OPT_APPEND = "-icount shift=6,align=off,sleep=off -rtc clock=vm"
 
-ARCH:qemu-cortex-m3 = "arm"
meta-zephyr-bsp/conf/machine/qemu-cortex-r5.conf +0 -1
index 5a0ea69..e85a42c 100644
@@ -19,4 +19,3 @@ QB_RNG = ""
 # Zephyr RTOS settings
 ZEPHYR_BOARD = "qemu_cortex_r5"
 ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot"
-ARCH:qemu-cortex-r5 = "arm"
meta-zephyr-bsp/conf/machine/qemu-nios2.conf +0 -1
index c41f505..e9420b5 100644
@@ -13,6 +13,5 @@ QB_MACHINE = "-machine altera_10m50_zephyr"
 QB_OPT_APPEND = "-nographic"
 QB_CPU = "-cpu nios2"
 
-ARCH:qemu-nios2 = "nios2"
 
 TCLIBC = "glibc"
meta-zephyr-bsp/conf/machine/qemu-x86.conf +0 -1
index d21de35..3535a4c 100644
@@ -14,4 +14,3 @@ QB_GRAPHICS = "-nographic -no-acpi"
 QB_CPU:x86 = "-cpu qemu32,+nx,+pae"
 QB_CPU_KVM:x86 = "-cpu kvm32"
 
-ARCH:qemu-x86 = "x86"
meta-zephyr-bsp/conf/machine/stm32mp157c-dk2.conf +0 -1
index 52c1819..c81b30e 100644
@@ -5,4 +5,3 @@
 
 require conf/machine/include/stm32mp1-cortex-m4.inc
 
-ARCH:stm32mp157c-dk2 = "arm"
meta-zephyr-bsp/conf/machine/v2m-beetle.conf +0 -1
index 37895c6..4065496 100644
@@ -9,4 +9,3 @@ require conf/machine/include/arm/armv7m/tune-cortexm3.inc
 # GLIBC will not work with Cortex-M.
 TCLIBC = "newlib"
 
-ARCH:beetle = "arm"
meta-zephyr-bsp/conf/machine/v2m-musca-b1.conf +0 -1
index 171e899..af5ae5e 100644
@@ -22,4 +22,3 @@ QB_MEM = "512k"
 # Zephyr RTOS settings
 ZEPHYR_BOARD = "v2m_musca_b1"
 ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot"
-ARCH:musca-b1 = "arm"
meta-zephyr-bsp/conf/machine/v2m-musca-s1.conf +0 -1
index c43d560..be7a42b 100644
@@ -20,4 +20,3 @@ QB_MEM = "512k"
 
 # Zephyr RTOS settings
 ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot"
-ARCH:musca-s1 = "arm"
meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc +0 -1
index 8a1638d..6544475 100644
@@ -19,7 +19,6 @@ ZEPHYR_MAKE_OUTPUT ?= "\
 EXTRA_OECMAKE = "\
     -DZEPHYR_BASE=${ZEPHYR_BASE} \
     -DBOARD=${BOARD} \
-    -DARCH=${ARCH} \
     -DZEPHYR_TOOLCHAIN_VARIANT=${ZEPHYR_TOOLCHAIN_VARIANT} \
     -DZEPHYR_MODULES=${ZEPHYR_MODULES} \
     "
Signature · 1 line
2.34.1
#1 lore raw

PATCH 2/2 topics/baicow01/zephyr-toolchain-set: Set zephyr toolchain work dir

Currently the work dir generated by the zephyr toolchain is incorrect Setting it to correctly reflect the arch and zephyr stage

---
 .../recipes-kernel/zephyr-kernel/zephyr-toolchain-zephyr.inc   | 3 +++
 1 file changed, 3 insertions(+)
meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-toolchain-zephyr.inc +3 -0
index a193314..cd5920d 100644
@@ -17,3 +17,6 @@ EXTRA_OECMAKE:append = " -DUSER_CACHE_DIR=${ZEPHYR_USER_CACHE_DIR}"
 # Inhibit packaging steps that require the Yocto toolchain
 INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
 INHIBIT_PACKAGE_STRIP = "1"
+
+# Set Zephyr work directory to describe toolchain accurately
+MULTIMACH_TARGET_SYS = "${ZEPHYR_BOARD}-zephyr"
Signature · 1 line
2.34.1
#2 lore raw
In reply to Ben Cownley

Hi Ben Cownley,

With latest zephyr 3.7.0 on meta-zephyr, qemu fails to run hello-world application with 'qemu-cortex-m3' and 'qemu-cortex-m0' machines. Would you able to help to fix issues with those arm machines !

runqemu - INFO - Running .. build/tmp/work/x86_64-linux/qemu-helper-native/1.0/recipe-sysroot-native/usr/bin/qemu-system-arm -nic none -icount shift=6,align=off,sleep=off -rtc clock=vm -machine lm3s6965evb -cpu cortex-m3 -m 256 -serial mon:stdio -serial null -nographic -nographic -vga none -kernel ..build/tmp/deploy/images/qemu-cortex-m3/zephyr-helloworld.elf -append ' mem=256M swiotlb=0 '

runqemu - INFO - Host uptime: 5023.59

*** Booting Zephyr OS build v3.7.0 ***
<< No hello world logs here >>

Regards,
Naveen

Quoted 296 lines

-----Original Message-----
From: [email protected] <yocto- [email protected]> On Behalf Of Ben Cownley
Sent: Wednesday, September 25, 2024 5:37 PM
To: [email protected]
Cc: Ben Cownley <[email protected]>
Subject: [yocto-patches] [meta-zephyr][PATCH 1/2] topics/baicow01/zephyr-ARCH-remove: Remove ARCH from meta-zephyr

meta-zephyr current passes an ARCH variable to the CMake build It's widely believed this is no longer necessary as it is inferred from the BOARD variable

---
 meta-zephyr-bsp/conf/machine/96b-avenger96.conf                  | 1 -
 meta-zephyr-bsp/conf/machine/96b-nitrogen.conf                   | 1 -
 meta-zephyr-bsp/conf/machine/arduino-nano-33-ble.conf            | 1 -
 meta-zephyr-bsp/conf/machine/frdm-kw41z.conf                     | 1 -
 meta-zephyr-bsp/conf/machine/intel-x86-64.conf                   | 1 -
 meta-zephyr-bsp/conf/machine/mps2-an385.conf                     | 1 -
 meta-zephyr-bsp/conf/machine/mps2-an521.conf                     | 1 -
 meta-zephyr-bsp/conf/machine/mps3-an547.conf                     | 1 -
 meta-zephyr-bsp/conf/machine/nrf52840-mdk-usb-dongle.conf        | 1 -
 meta-zephyr-bsp/conf/machine/nrf52840dk-nrf52840.conf            | 1 -
 meta-zephyr-bsp/conf/machine/qemu-cortex-a53.conf                | 1 -
 meta-zephyr-bsp/conf/machine/qemu-cortex-a9.conf                 | 1 -
 meta-zephyr-bsp/conf/machine/qemu-cortex-m0.conf                 | 1 -
 meta-zephyr-bsp/conf/machine/qemu-cortex-m3.conf                 | 1 -
 meta-zephyr-bsp/conf/machine/qemu-cortex-r5.conf                 | 1 -
 meta-zephyr-bsp/conf/machine/qemu-nios2.conf                     | 1 -
 meta-zephyr-bsp/conf/machine/qemu-x86.conf                       | 1 -
 meta-zephyr-bsp/conf/machine/stm32mp157c-dk2.conf                | 1 -
 meta-zephyr-bsp/conf/machine/v2m-beetle.conf                     | 1 -
 meta-zephyr-bsp/conf/machine/v2m-musca-b1.conf                   | 1 -
 meta-zephyr-bsp/conf/machine/v2m-musca-s1.conf                   | 1 -
 .../recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc        | 1 -
 22 files changed, 22 deletions(-)
meta- renamed from meta-zephyr-bsp/conf/machine/96b-avenger96.conf +0 -0

zephyr-bsp/conf/machine/96b-avenger96.conf
index ae6f972..5c493b1 100644

meta-zephyr-bsp/conf/machine/96b-avenger96.conf +0 -1
@@ -5,4 +5,3 @@
 
 require conf/machine/include/stm32mp1-cortex-m4.inc
 
-ARCH:96b-avenger96 = "arm"
meta- renamed from meta-zephyr-bsp/conf/machine/96b-nitrogen.conf +0 -0

zephyr-bsp/conf/machine/96b-nitrogen.conf
index affe9eb..65bdfbf 100644

meta-zephyr-bsp/conf/machine/96b-nitrogen.conf +0 -1
@@ -5,4 +5,3 @@
 
 require conf/machine/include/nrf52.inc
 ZEPHYR_INHERIT_CLASSES += "zephyr-flash-pyocd"
-ARCH:96b-nitrogen = "arm"
meta-zephyr-bsp/conf/machine/arduino-nano-33-ble.conf +0 -1
index ebf4155..c6ffa67 100644
@@ -5,5 +5,4 @@
 
 require conf/machine/include/nrf52.inc
 ZEPHYR_INHERIT_CLASSES += "zephyr-flash-bossac"
-ARCH:arduino-nano-33-ble = "arm"
 
meta- renamed from meta-zephyr-bsp/conf/machine/frdm-kw41z.conf +0 -0

zephyr-bsp/conf/machine/frdm-kw41z.conf
index 464e83a..46b1e0e 100755

meta-zephyr-bsp/conf/machine/frdm-kw41z.conf +0 -1
@@ -6,6 +6,5 @@
 
 require conf/machine/include/arm/armv6m/tune-cortexm0plus.inc
 
-ARCH:frdm-kw41z = "arm"
 
 DEFAULTUNE ?= "cortexm0plus"
meta- renamed from meta-zephyr-bsp/conf/machine/intel-x86-64.conf +0 -0

zephyr-bsp/conf/machine/intel-x86-64.conf
index 5112f28..4bda0cd 100644

meta-zephyr-bsp/conf/machine/intel-x86-64.conf +0 -1
@@ -4,7 +4,6 @@
 
 require conf/machine/include/tune-corei7-common.inc
 
-ARCH:intel-x86-64 = "x86"
 
 # Supported Boards:
 # ZEPHYR_BOARD ?= "acrn"
meta- renamed from meta-zephyr-bsp/conf/machine/mps2-an385.conf +0 -0

zephyr-bsp/conf/machine/mps2-an385.conf
index 159e1bd..bb67972 100644

meta-zephyr-bsp/conf/machine/mps2-an385.conf +0 -2
@@ -16,4 +16,3 @@ QB_OPT_APPEND = "-icount shift=7,align=off,sleep=off
-rtc clock=vm"
 
 # Zephyr RTOS settings
 ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot"
-ARCH:mps2-an385 = "arm"
meta- renamed from meta-zephyr-bsp/conf/machine/mps2-an521.conf +0 -0

zephyr-bsp/conf/machine/mps2-an521.conf
index acd02be..fb763ea 100644

meta-zephyr-bsp/conf/machine/mps2-an521.conf +0 -2
@@ -18,4 +18,3 @@ QB_OPT_APPEND = "-icount shift=7,align=off,sleep=off
-rtc clock=vm"
 
 # Zephyr RTOS settings
 ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot"
-ARCH:mps2-an521 = "arm"
meta- renamed from meta-zephyr-bsp/conf/machine/mps3-an547.conf +0 -0

zephyr-bsp/conf/machine/mps3-an547.conf
index 185c425..c3ebd2c 100644

meta-zephyr-bsp/conf/machine/mps3-an547.conf +0 -2
@@ -17,4 +17,3 @@ QB_OPT_APPEND = "-icount shift=7,align=off,sleep=off
-rtc clock=vm"
 
 # Zephyr RTOS settings
 ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot"
-ARCH:mps3-an547 = "arm"
meta-zephyr-bsp/conf/machine/nrf52840-mdk-usb-dongle.conf +0 -0
index 67e407a..448f1ed 100644
@@ -4,4 +4,3 @@
 #@DESCRIPTION: Machine configuration for makerdiary's nrf52840-mdk-

usb-dongle

require conf/machine/include/nrf52.inc

meta-zephyr-bsp/conf/machine/nrf52840-mdk-usb-dongle.conf +0 -1
-ARCH:nrf52840-mdk-usb-dongle = "arm"
meta-zephyr-bsp/conf/machine/nrf52840dk-nrf52840.conf +0 -1
index 258aa7a..bd99878 100644
@@ -5,4 +5,3 @@
 
 require conf/machine/include/nrf52.inc
 ZEPHYR_INHERIT_CLASSES += "zephyr-flash-pyocd"
-ARCH:nrf52840dk-nrf52840 = "arm"
meta- renamed from meta-zephyr-bsp/conf/machine/qemu-cortex-a53.conf +0 -0

zephyr-bsp/conf/machine/qemu-cortex-a53.conf
index e21f3da..4a511f9 100644

meta-zephyr-bsp/conf/machine/qemu-cortex-a53.conf +0 -2
@@ -17,4 +17,3 @@ QB_OPT_APPEND = "-icount shift=4,align=off,sleep=on
-rtc clock=vm"
 # Zephyr RTOS settings
 ZEPHYR_BOARD = "qemu_cortex_a53"
 ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot"
-ARCH:qemu-cortex-a53 = "aarch64"
meta- renamed from meta-zephyr-bsp/conf/machine/qemu-cortex-a9.conf +0 -0

zephyr-bsp/conf/machine/qemu-cortex-a9.conf
index 9dfee42..4ce6e56 100644

meta-zephyr-bsp/conf/machine/qemu-cortex-a9.conf +0 -2
@@ -17,4 +17,3 @@ QB_OPT_APPEND = "-icount shift=3,align=off,sleep=off
-rtc clock=vm"
 
 # Zephyr RTOS settings
 ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot"
-ARCH:qemu-cortex-a9 = "arm"
meta- renamed from meta-zephyr-bsp/conf/machine/qemu-cortex-m0.conf +0 -0

zephyr-bsp/conf/machine/qemu-cortex-m0.conf
index 736579e..9a01efd 100644

meta-zephyr-bsp/conf/machine/qemu-cortex-m0.conf +0 -2
@@ -21,4 +21,3 @@ QB_OPT_APPEND = "-icount shift=6,align=off,sleep=off
-rtc clock=vm"
 # Zephyr RTOS settings
 ZEPHYR_BOARD = "qemu_cortex_m0"
 ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot"
-ARCH:qemu-cortex-m0 = "arm"
meta- renamed from meta-zephyr-bsp/conf/machine/qemu-cortex-m3.conf +0 -0

zephyr-bsp/conf/machine/qemu-cortex-m3.conf
index 904a79b..2314dc5 100644

meta-zephyr-bsp/conf/machine/qemu-cortex-m3.conf +0 -1
@@ -15,4 +15,3 @@ QB_CPU = "-cpu cortex-m3"
 QB_RNG = ""
 QB_OPT_APPEND = "-icount shift=6,align=off,sleep=off -rtc clock=vm"
 
-ARCH:qemu-cortex-m3 = "arm"
meta- renamed from meta-zephyr-bsp/conf/machine/qemu-cortex-r5.conf +0 -0

zephyr-bsp/conf/machine/qemu-cortex-r5.conf
index 5a0ea69..e85a42c 100644

meta-zephyr-bsp/conf/machine/qemu-cortex-r5.conf +0 -1
@@ -19,4 +19,3 @@ QB_RNG = ""
 # Zephyr RTOS settings
 ZEPHYR_BOARD = "qemu_cortex_r5"
 ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot"
-ARCH:qemu-cortex-r5 = "arm"
meta- renamed from meta-zephyr-bsp/conf/machine/qemu-nios2.conf +0 -0

zephyr-bsp/conf/machine/qemu-nios2.conf
index c41f505..e9420b5 100644

meta-zephyr-bsp/conf/machine/qemu-nios2.conf +0 -1
@@ -13,6 +13,5 @@ QB_MACHINE = "-machine altera_10m50_zephyr"
 QB_OPT_APPEND = "-nographic"
 QB_CPU = "-cpu nios2"
 
-ARCH:qemu-nios2 = "nios2"
 
 TCLIBC = "glibc"
meta-zephyr- renamed from meta-zephyr-bsp/conf/machine/qemu-x86.conf +0 -0

bsp/conf/machine/qemu-x86.conf
index d21de35..3535a4c 100644

meta-zephyr-bsp/conf/machine/qemu-x86.conf +0 -1
@@ -14,4 +14,3 @@ QB_GRAPHICS = "-nographic -no-acpi"
 QB_CPU:x86 = "-cpu qemu32,+nx,+pae"
 QB_CPU_KVM:x86 = "-cpu kvm32"
 
-ARCH:qemu-x86 = "x86"
meta- renamed from meta-zephyr-bsp/conf/machine/stm32mp157c-dk2.conf +0 -0

zephyr-bsp/conf/machine/stm32mp157c-dk2.conf
index 52c1819..c81b30e 100644

meta-zephyr-bsp/conf/machine/stm32mp157c-dk2.conf +0 -1
@@ -5,4 +5,3 @@
 
 require conf/machine/include/stm32mp1-cortex-m4.inc
 
-ARCH:stm32mp157c-dk2 = "arm"
meta- renamed from meta-zephyr-bsp/conf/machine/v2m-beetle.conf +0 -0

zephyr-bsp/conf/machine/v2m-beetle.conf
index 37895c6..4065496 100644

meta-zephyr-bsp/conf/machine/v2m-beetle.conf +0 -0
@@ -9,4 +9,3 @@ require conf/machine/include/arm/armv7m/tune-

cortexm3.inc
# GLIBC will not work with Cortex-M.
TCLIBC = "newlib"

meta-zephyr-bsp/conf/machine/v2m-beetle.conf +0 -1
-ARCH:beetle = "arm"
meta- renamed from meta-zephyr-bsp/conf/machine/v2m-musca-b1.conf +0 -0

zephyr-bsp/conf/machine/v2m-musca-b1.conf
index 171e899..af5ae5e 100644

meta-zephyr-bsp/conf/machine/v2m-musca-b1.conf +0 -1
@@ -22,4 +22,3 @@ QB_MEM = "512k"
 # Zephyr RTOS settings
 ZEPHYR_BOARD = "v2m_musca_b1"
 ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot"
-ARCH:musca-b1 = "arm"
meta- renamed from meta-zephyr-bsp/conf/machine/v2m-musca-s1.conf +0 -0

zephyr-bsp/conf/machine/v2m-musca-s1.conf
index c43d560..be7a42b 100644

meta-zephyr-bsp/conf/machine/v2m-musca-s1.conf +0 -1
@@ -20,4 +20,3 @@ QB_MEM = "512k"
 
 # Zephyr RTOS settings
 ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot"
-ARCH:musca-s1 = "arm"
(quoted diff) +0 -0

common.inc b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr- kernel-common.inc
index 8a1638d..6544475 100644
--- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel- common.inc
+++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel- common
+++ .inc

meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc +0 -2
@@ -19,7 +19,6 @@ ZEPHYR_MAKE_OUTPUT ?= "\  EXTRA_OECMAKE = "\
     -DZEPHYR_BASE=${ZEPHYR_BASE} \
     -DBOARD=${BOARD} \
-    -DARCH=${ARCH} \
     -DZEPHYR_TOOLCHAIN_VARIANT=${ZEPHYR_TOOLCHAIN_VARIANT} \
     -DZEPHYR_MODULES=${ZEPHYR_MODULES} \
     "
--

2.34.1

-=-=-=-=-=-=
Links: You receive all messages sent to this group. View/Reply Online (#671): https://lists.yoctoproject.org/g/yocto-
patches/message/671
Mute This Topic: https://lists.yoctoproject.org/mt/108644928/2015869
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto-
patches/leave/13182003/2015869/177849857/xyzzy [[email protected]]
-=-=-=-=-=-=

#3 lore raw

Hi Saini,

The issue seems to be pervasive in our testing.  We were able to isolate the change to GCC14, but our debug stopped there.  We are unsure as to why it works with the zephyr gcc compiler but not the yocto one.  We think it might be related to some patches or compiler configuration, but have not had sufficient time to debug