From 5bec9ecf1f52abe02885a357b890b9bae63af7d1 Mon Sep 17 00:00:00 2001 From: Ramon Moesching Date: Fri, 11 Dec 2020 15:25:19 +0100 Subject: [PATCH] u-boot-am335x-nmhw21: deploy nmhw21 as hw26 binaries nmhw21 and hw26 are using common u-boot code base. Thus we are creating symlink from nmhw21 to hw26. With this fix jenkins packaging stage is working again. BugzID: 69325 Signed-off-by: Ramon Moesching --- recipes-bsp/u-boot/u-boot-am335x-nmhw21_git.bb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/recipes-bsp/u-boot/u-boot-am335x-nmhw21_git.bb b/recipes-bsp/u-boot/u-boot-am335x-nmhw21_git.bb index 59ba5a9..6be4469 100644 --- a/recipes-bsp/u-boot/u-boot-am335x-nmhw21_git.bb +++ b/recipes-bsp/u-boot/u-boot-am335x-nmhw21_git.bb @@ -22,3 +22,11 @@ do_deploy_append() { cp ${S}/MLO ${DEPLOYDIR}/spl-${PN}.${UBOOT_SUFFIX} } +# nmhw21 and hw26 using same u-boot sources so let's create symlinks for hw26 when building nmhw21 +PN_E = "u-boot-${MACHINE}" +do_deploy_append_am335x-hw26() { + ln -sr ${DEPLOYDIR}/spl-${PN}.xmodem.bin ${DEPLOYDIR}/spl-${PN_E}.xmodem.bin + ln -sr ${DEPLOYDIR}/${PN}.xmodem.bin ${DEPLOYDIR}/${PN_E}.xmodem.bin + ln -sr ${DEPLOYDIR}/${PN}.${UBOOT_SUFFIX} ${DEPLOYDIR}/${PN_E}.${UBOOT_SUFFIX} + ln -sr ${DEPLOYDIR}/spl-${PN}.${UBOOT_SUFFIX} ${DEPLOYDIR}/spl-${PN_E}.${UBOOT_SUFFIX} +}