[yocto] [meta-zephyr][PATCH 7/7] zephyr-philosophers: also deploy binary image

Juro Bystricky juro.bystricky at intel.com
Sat Jan 14 11:01:53 PST 2017


Deploy both binary and ELF images in order to make
it easier to flash the image on an actual board, such as Arduino-101.
(Some flashing tools require binary image)

Signed-off-by: Juro Bystricky <juro.bystricky at intel.com>
---
 recipes-kernel/zephyr-kernel/zephyr-philosophers.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/recipes-kernel/zephyr-kernel/zephyr-philosophers.bb b/recipes-kernel/zephyr-kernel/zephyr-philosophers.bb
index f9e9282..7fb0ea4 100644
--- a/recipes-kernel/zephyr-kernel/zephyr-philosophers.bb
+++ b/recipes-kernel/zephyr-kernel/zephyr-philosophers.bb
@@ -12,6 +12,7 @@ do_compile () {
 
 do_deploy () {
     install -D samples/philosophers/outdir/${BOARD}/zephyr.elf ${DEPLOYDIR}/philosophers.elf
+    install -D samples/philosophers/outdir/${BOARD}/zephyr.bin ${DEPLOYDIR}/philosophers.bin
     export DEPLOY_DIR_IMAGE=${DEPLOYDIR}/philosophers.elf
 }
 
-- 
2.7.4




More information about the yocto mailing list