Derive the name of the resulting image based on PN.

Signed-off-by: Juro Bystricky <juro.bystri...@intel.com>
---
 recipes-kernel/zephyr-kernel/zephyr-philosophers.bb | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/recipes-kernel/zephyr-kernel/zephyr-philosophers.bb 
b/recipes-kernel/zephyr-kernel/zephyr-philosophers.bb
index babc453..425bebb 100644
--- a/recipes-kernel/zephyr-kernel/zephyr-philosophers.bb
+++ b/recipes-kernel/zephyr-kernel/zephyr-philosophers.bb
@@ -11,9 +11,8 @@ 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
+    install -D samples/philosophers/outdir/${BOARD}/zephyr.elf 
${DEPLOYDIR}/${PN}.elf
+    install -D samples/philosophers/outdir/${BOARD}/zephyr.bin 
${DEPLOYDIR}/${PN}.bin
 }
 
 addtask deploy after do_compile
-- 
2.7.4

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to