diff options
author | Heiko Schocher <hs@denx.de> | 2024-11-23 17:52:48 +0100 |
---|---|---|
committer | Fabio Estevam <festevam@gmail.com> | 2024-11-25 23:07:37 -0300 |
commit | 1f70e5a0e892464f5365a781b088388a10d0834f (patch) | |
tree | 8ce1151b6a0a051f409cbfb3855c33d5a6aa7bff | |
parent | dea6fd26b70cf3e2603c9324d2154c68de8e8e9f (diff) | |
download | u-boot-1f70e5a0e892464f5365a781b088388a10d0834f.tar.gz |
imx: imx_cntr_image.sh: prevent warning for missing spl
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 <hs@denx.de>
-rwxr-xr-x | tools/imx_cntr_image.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/imx_cntr_image.sh b/tools/imx_cntr_image.sh index 972b95ccbee..07acd385631 100755 --- a/tools/imx_cntr_image.sh +++ b/tools/imx_cntr_image.sh @@ -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 |