aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel/zephyr-kernel/zephyr-image.inc
blob: e8b88713154f71603c7141f8e827009823690b4d (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 testimage
inherit deploy

QEMU_BIN_PATH = "${STAGING_BINDIR_NATIVE}"

ZEPHYR_BASE = "${S}"
OECMAKE_SOURCEPATH = "${S}/${ZEPHYR_SRC_DIR}"

do_deploy () {
    install -D ${B}/zephyr/${ZEPHYR_MAKE_OUTPUT} ${DEPLOYDIR}/${ZEPHYR_IMAGENAME}
}

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