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 <ramon.moesching@netmodule.com>
This commit is contained in:
Ramon Moesching 2020-12-11 15:25:19 +01:00
parent 597b53438c
commit 5bec9ecf1f
1 changed files with 8 additions and 0 deletions

View File

@ -22,3 +22,11 @@ do_deploy_append() {
cp ${S}/MLO ${DEPLOYDIR}/spl-${PN}.${UBOOT_SUFFIX} 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}
}