aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel/zephyr-kernel/zephyr-hci-uart.bb
blob: ec6b13e5206ea62de13600c59f3406b1db8d6cb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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"