Currently while generating boot.bin we use the images from deploy directory, this is susceptible to breakages. Deploy the fragments to sysroots under /boot directory and use it from there instead
Signed-off-by: Manjukumar Matha <[email protected]> --- classes/xsctapp.bbclass | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/classes/xsctapp.bbclass b/classes/xsctapp.bbclass index 85b964c..1846c53 100644 --- a/classes/xsctapp.bbclass +++ b/classes/xsctapp.bbclass @@ -30,8 +30,10 @@ XSCTH_BUILD_CONFIG ?= "${@['Debug', 'Release'][d.getVar('XSCTH_BUILD_DEBUG', Tru XSCTH_EXECUTABLE ?= "${XSCTH_BUILD_CONFIG}/${XSCTH_PROJ}.elf" XSCTH_APP_COMPILER_FLAGS ?= "" +SYSROOT_DIRS += "/boot" + do_install() { - : + install -Dm 0644 ${XSCTH_WS}/${XSCTH_PROJ}/${XSCTH_EXECUTABLE} ${D}/boot/${PN}.elf } do_deploy() { @@ -40,3 +42,5 @@ do_deploy() { ln -sf ${XSCTH_BASE_NAME}.elf ${DEPLOYDIR}/${PN}-${MACHINE}.elf } addtask do_deploy after do_compile + +FILES_${PN} = "/boot/${PN}.elf" -- 2.7.4 -- _______________________________________________ meta-xilinx mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-xilinx
