require zephyr-kernel.inc require zephyr-kernel-common.inc inherit deploy COMPATIBLE_MACHINE = "(96b-nitrogen)" ZEPHYR_SRC_DIR = "${S}/samples/bluetooth/hci_uart" 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"