mirror of
https://git.yoctoproject.org/meta-zephyr
synced 2026-01-29 21:58:41 +01:00
This commit restructures meta-zephyr into meta-zephyr-core and meta-zephyr-bsp. It moves machine definitions into meta-zephyr-bsp in preparation for adding the autogenerated zephyr machines. Signed-off-by: Eilís Ní Fhlannagáin <elizabeth.flanagan@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
24 lines
583 B
PHP
24 lines
583 B
PHP
require zephyr-kernel-src.inc
|
|
require zephyr-kernel-common.inc
|
|
inherit deploy
|
|
|
|
ZEPHYR_BASE = "${S}"
|
|
OECMAKE_SOURCEPATH = "${ZEPHYR_SRC_DIR}"
|
|
|
|
do_install[noexec] = "1"
|
|
|
|
do_deploy () {
|
|
install -D ${B}/zephyr/${ZEPHYR_MAKE_OUTPUT} ${DEPLOYDIR}/${PN}.elf
|
|
|
|
if [ -f ${B}/zephyr/${ZEPHYR_MAKE_BIN_OUTPUT} ]
|
|
then
|
|
install -D ${B}/zephyr/${ZEPHYR_MAKE_BIN_OUTPUT} ${DEPLOYDIR}/${PN}.bin
|
|
fi
|
|
|
|
if [ -f ${B}/zephyr/${ZEPHYR_MAKE_EFI_OUTPUT} ]
|
|
then
|
|
install -D ${B}/zephyr/${ZEPHYR_MAKE_EFI_OUTPUT} ${DEPLOYDIR}/${PN}.efi
|
|
fi
|
|
}
|
|
addtask deploy after do_compile
|