require zephyr-kernel.inc require zephyr-kernel-common.inc inherit deploy COMPATIBLE_MACHINE = "(arduino-101-ble)" ZEPHYR_SRC_DIR = "${S}/samples/bluetooth/hci_uart" ZEPHYR_BASE = "${S}" do_compile () { cd ${ZEPHYR_SRC_DIR} oe_runmake ${ZEPHYR_MAKE_ARGS} } do_deploy () { install -D samples/bluetooth/hci_uart/outdir/${BOARD}/zephyr.elf ${DEPLOYDIR}/${PN}.elf install -D samples/bluetooth/hci_uart/outdir/${BOARD}/zephyr.bin ${DEPLOYDIR}/${PN}.bin } addtask deploy after do_compile