* [meta-zephyr][PATCH] zephyr-image: unify the image generation for tests and samples
@ 2022-02-09 9:05 Bartosz Golaszewski
0 siblings, 0 replies; only message in thread
From: Bartosz Golaszewski @ 2022-02-09 9:05 UTC (permalink / raw)
To: yocto
Cc: Naveen Saini, Eilís Ní Fhlannagáin, Bartosz Golaszewski
From: Bartosz Golaszewski <bartosz.golaszewski@huawei.com>
Reuse the same code that generates zephyr samples for building tests.
This allows us to generate .bin files in all cases.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@huawei.com>
---
.../recipes-kernel/zephyr-kernel/zephyr-image.inc | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
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 c77692d..2d4c6ff 100644
--- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-image.inc
+++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-image.inc
@@ -1,17 +1,10 @@
-require zephyr-kernel-src.inc
-require zephyr-kernel-common.inc
-
+require zephyr-sample.inc
inherit testimage
-inherit deploy
QEMU_BIN_PATH = "${STAGING_BINDIR_NATIVE}"
ZEPHYR_BASE = "${S}"
OECMAKE_SOURCEPATH = "${S}/${ZEPHYR_SRC_DIR}"
-do_deploy () {
- install -D ${B}/zephyr/${ZEPHYR_MAKE_OUTPUT} ${DEPLOYDIR}/${ZEPHYR_IMAGENAME}
-}
-
addtask deploy after do_compile
do_install[noexec] = "1"
--
2.30.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-02-09 9:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-09 9:05 [meta-zephyr][PATCH] zephyr-image: unify the image generation for tests and samples Bartosz Golaszewski
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.