u-boot-dey: retain u-boot symlink for ccimx6/ccimx6qp platforms
Commit b581ac2a3b ("u-boot: rework deploy
symlinks using uboot_deploy_config") removed u-boot symlinks as part of cleanup
process. However, the main symlink is still required for the ccimx6 and
ccimx6qp platforms to generate bootable SD card images.
This commit keeps the symlink for those specific platforms to fix the SD card
image creation process.
https://onedigi.atlassian.net/browse/DEL-9758
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
This commit is contained in:
parent
10e3803df5
commit
771224df65
|
|
@ -148,8 +148,12 @@ build_uboot_scripts() {
|
|||
# u-boot-spl.bin-<platform>-<defconfig> (needed for imx-boot)
|
||||
#
|
||||
uboot_deploy_config:append() {
|
||||
rm -f ${DEPLOYDIR}/${UBOOT_SYMLINK} \
|
||||
${DEPLOYDIR}/${UBOOT_BINARY}-${type} \
|
||||
if [ "${MACHINE}" != "ccimx6sbc" ] && [ "${MACHINE}" != "ccimx6qpsbc" ]; then
|
||||
# U-Boot symlink is only required for ccimx6/ccimx6qp platforms during
|
||||
# SD card image generation
|
||||
rm -f ${DEPLOYDIR}/${UBOOT_SYMLINK}
|
||||
fi
|
||||
rm -f ${DEPLOYDIR}/${UBOOT_BINARY}-${type} \
|
||||
${DEPLOYDIR}/${UBOOT_BINARY}
|
||||
ln -sf ${UBOOT_BINARYNAME}-${type}-${PV}-${PR}.${UBOOT_SUFFIX} ${DEPLOYDIR}/${UBOOT_BINARYNAME}-${type}.${UBOOT_SUFFIX}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue