u-boot-xlnx.inc: Deploy u-boot-spl.bin only if present
There are instances when SPL can be completely disabled, in such cases
do_deploy will error out complaining u-boot-spl.bin not found. This
patch fixes the issue by deploying u-boot-spl.bin only if it is present
@@ -20,5 +20,7 @@ FILESEXTRAPATHS_prepend := "${@'${THISDIR}/u-boot-xlnx/${XILINX_RELEASE_VERSION}
do_deploy_append_zcu102-zynqmp () {
# deploy u-boot-spl.bin for use by runqemu/QEMU
+ if [ -e ${B}/spl/u-boot-spl.bin ];then
install -Dm 0644 ${B}/spl/u-boot-spl.bin ${DEPLOYDIR}/u-boot-spl.bin
+ fi
}
