zephyr-philosophers: use common naming conventions

Derive the name of the resulting image based on PN.

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
This commit is contained in:
Juro Bystricky
2017-01-30 16:07:59 -08:00
parent d13bf35e1a
commit da18654229

View File

@@ -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