summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNaveen Saini <naveen.kumar.saini@intel.com>2021-02-05 17:09:41 +0800
committerNaveen Saini <naveen.kumar.saini@intel.com>2021-02-09 09:45:54 +0800
commitfcd20d101609f230991a777444c82f73ef9ce211 (patch)
treef5e653f74fb67458b82a470ac52a14bf25844783
parentce1c9febfa2ac011edcbbd1b25491708d034b4a6 (diff)
downloadmeta-zephyr-fcd20d101609f230991a777444c82f73ef9ce211.tar.gz
meta-zephyr-fcd20d101609f230991a777444c82f73ef9ce211.tar.bz2
meta-zephyr-fcd20d101609f230991a777444c82f73ef9ce211.zip
zephyr-hci-uart: set COMPATIBLE_MACHINE to 96b-nitrogen machine
Fix recipe to build. Support for Board arduino-101-ble already dropped from v1.12 Ref: https://github.com/zephyrproject-rtos/zephyr/blob/v2.4-branch/samples/bluetooth/hci_uart/README.rst https://github.com/zephyrproject-rtos/zephyr/blob/v2.4-branch/samples/bluetooth/hci_uart/boards/96b_nitrogen.conf Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
-rw-r--r--recipes-kernel/zephyr-kernel/zephyr-hci-uart.bb11
1 files changed, 4 insertions, 7 deletions
diff --git a/recipes-kernel/zephyr-kernel/zephyr-hci-uart.bb b/recipes-kernel/zephyr-kernel/zephyr-hci-uart.bb
index b70542a..ec6b13e 100644
--- a/recipes-kernel/zephyr-kernel/zephyr-hci-uart.bb
+++ b/recipes-kernel/zephyr-kernel/zephyr-hci-uart.bb
@@ -2,19 +2,16 @@ require zephyr-kernel.inc
require zephyr-kernel-common.inc
inherit deploy
-COMPATIBLE_MACHINE = "(arduino-101-ble)"
+COMPATIBLE_MACHINE = "(96b-nitrogen)"
ZEPHYR_SRC_DIR = "${S}/samples/bluetooth/hci_uart"
ZEPHYR_BASE = "${S}"
-do_compile () {
- cd ${ZEPHYR_SRC_DIR}
- oe_runmake ${ZEPHYR_MAKE_ARGS}
-}
+OECMAKE_SOURCEPATH = "${ZEPHYR_SRC_DIR}"
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
+ install -D ${B}/zephyr/${ZEPHYR_MAKE_OUTPUT} ${DEPLOYDIR}/${PN}.elf
}
addtask deploy after do_compile
+do_install[noexec] = "1"