require zephyr-kernel.inc require zephyr-kernel-common.inc inherit deploy ZEPHYR_SRC_DIR = "${S}/samples/hello_world" ZEPHYR_BASE = "${S}" OECMAKE_SOURCEPATH = "${ZEPHYR_SRC_DIR}" do_deploy () { install -D ${B}/zephyr/${ZEPHYR_MAKE_OUTPUT} ${DEPLOYDIR}/${PN}.elf } addtask deploy after do_compile do_install[noexec] = "1"