Signed-off-by: Naveen Saini <[email protected]>
---
recipes-kernel/zephyr-kernel/zephyr-philosophers.bb | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/recipes-kernel/zephyr-kernel/zephyr-philosophers.bb
b/recipes-kernel/zephyr-kernel/zephyr-philosophers.bb
index 425bebb..b8262ca 100644
--- a/recipes-kernel/zephyr-kernel/zephyr-philosophers.bb
+++ b/recipes-kernel/zephyr-kernel/zephyr-philosophers.bb
@@ -4,15 +4,11 @@ inherit deploy
ZEPHYR_SRC_DIR = "${S}/samples/philosophers"
ZEPHYR_BASE = "${S}"
-
-do_compile () {
- cd ${ZEPHYR_SRC_DIR}
- oe_runmake ${ZEPHYR_MAKE_ARGS}
-}
+OECMAKE_SOURCEPATH = "${ZEPHYR_SRC_DIR}"
do_deploy () {
- install -D samples/philosophers/outdir/${BOARD}/zephyr.elf
${DEPLOYDIR}/${PN}.elf
- install -D samples/philosophers/outdir/${BOARD}/zephyr.bin
${DEPLOYDIR}/${PN}.bin
+ install -D ${B}/zephyr/${ZEPHYR_MAKE_OUTPUT} ${DEPLOYDIR}/${PN}.elf
}
addtask deploy after do_compile
+do_install[noexec] = "1"
--
2.17.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#47499): https://lists.yoctoproject.org/g/yocto/message/47499
Mute This Topic: https://lists.yoctoproject.org/mt/64687866/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-