]> Git Repo - J-u-boot.git/commitdiff
imx: imx_cntr_image.sh: prevent warning for missing spl
authorHeiko Schocher <[email protected]>
Sat, 23 Nov 2024 16:52:48 +0000 (17:52 +0100)
committerFabio Estevam <[email protected]>
Tue, 26 Nov 2024 02:07:37 +0000 (23:07 -0300)
when building U-Boot on imx8qxp and the board port uses
SPL, U-boot build shows

WARNING '.../spl/u-boot-spl.bin' not found, resulting binary is not-functional

This is because U-Boot binary is build first and Makefile
calls script imx_cntr_image.sh which checks if files
exists... but of course as spl is not yet build the
file `spl/u-boot-spl.bin` does not exist yet, so prevent
this warning.

Signed-off-by: Heiko Schocher <[email protected]>
tools/imx_cntr_image.sh

index 972b95ccbeef9133492a78e6d2771e8a21ebcfcb..07acd3856312ae128fa0324838b85d3a3f92b882 100755 (executable)
@@ -14,6 +14,10 @@ for f in $blobs; do
                continue
        fi
 
+       if [ $f = "spl/u-boot-spl.bin" ]; then
+               continue
+       fi
+
        if [ -f $f ]; then
                continue
        fi
This page took 0.031663 seconds and 4 git commands to generate.