From f84fdf5e28b3d635a251f5f547f83cd797993360 Mon Sep 17 00:00:00 2001 From: Naveen Saini Date: Thu, 12 Sep 2024 21:19:12 +0800 Subject: [PATCH] zephyr-image.inc: fix runqemu failure Signed-off-by: Naveen Saini --- meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-image.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-image.inc b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-image.inc index e929bff..f02270a 100644 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-image.inc +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-image.inc @@ -10,7 +10,8 @@ do_install() { for output in ${ZEPHYR_MAKE_OUTPUT}; do if [ -f ${B}/zephyr/${output} ]; then - install -D ${B}/zephyr/${output} ${D}/firmware/ + output_img=$(echo ${output} | sed -e "s/zephyr/${PN}/g") + install -D ${B}/zephyr/${output} ${D}/firmware/${output_img} fi done }