image-fit-sig: skip in tools build if key is missing
authorDaniel Golle <daniel@makrotopia.org>
Sat, 29 Mar 2025 23:23:51 +0000 (23:23 +0000)
committerTom Rini <trini@konsulko.com>
Fri, 11 Apr 2025 02:55:53 +0000 (20:55 -0600)
commit40dcd5088b7f64ee2841c233c8ab82ce9c188d73
tree78d87bf80c58515846b71629555b15f75472a0d0
parent2a6d7ad24d347a34eb9e62f4afcaf36be28936ff
image-fit-sig: skip in tools build if key is missing

Skip signature verification in case no public key was given in order to
allow using fit_check_sign also to validate uImage.FIT images without
signatures. Guarded by USE_HOSTCC macro the behavior on target is
unchanged.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
boot/image-fit-sig.c