summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/zephyr-kernel/zephyr-peripheral-esp.bb
blob: 192c76d0768b698c82467fb0f9dc9d8d4bb7266d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require zephyr-kernel.inc
require zephyr-kernel-common.inc
inherit deploy

ZEPHYR_SAMPLE_NAME="samples/bluetooth/peripheral_esp"
ZEPHYR_SRC_DIR = "${S}/${ZEPHYR_SAMPLE_NAME}"
ZEPHYR_BASE = "${S}"
OECMAKE_SOURCEPATH = "${ZEPHYR_SRC_DIR}"
EXTRA_OECMAKE_append = "\;${S}/modules/crypto/tinycrypt"

do_deploy () {
    install -D ${B}/zephyr/${ZEPHYR_MAKE_OUTPUT} ${DEPLOYDIR}/${PN}.elf
}

addtask deploy after do_compile
do_install[noexec] = "1"