diff mbox series

[meta-zephyr,4/5] zephyr-core/zephyr-kernel: Inhibit packaging steps with the Zephyr SDK

Message ID 20221216153723.1522131-4-peter.hoyes@arm.com
State New
Headers show
Series [meta-zephyr,1/5] CI: Add variables needed for k8s runners | expand

Commit Message

Peter Hoyes Dec. 16, 2022, 3:37 p.m. UTC
From: Peter Hoyes <Peter.Hoyes@arm.com>

The packaging step includes post-processing of elf files using objcopy
and strip from the Yocto toolchain. When using the Zephyr SDK, the Yocto
toolchain is explicitly not built so it is not possible to run these
steps. Therefore, inhibit them in zephyr-toolchain-zephyr.inc

Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
---
 .../recipes-kernel/zephyr-kernel/zephyr-toolchain-zephyr.inc  | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-toolchain-zephyr.inc b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-toolchain-zephyr.inc
index 9987e3c..a193314 100644
--- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-toolchain-zephyr.inc
+++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-toolchain-zephyr.inc
@@ -13,3 +13,7 @@  deltask generate_toolchain_file
 # Provide a suitable location to store the toolchain capabilites cache
 ZEPHYR_USER_CACHE_DIR = "${B}/.cache"
 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"