Makefile: pass KEYDIR when set to sunxi-spl.bin mkimage
authorJames Hilliard <james.hilliard1@gmail.com>
Fri, 11 Apr 2025 01:10:25 +0000 (19:10 -0600)
committerAndre Przywara <andre.przywara@arm.com>
Mon, 27 Oct 2025 00:44:53 +0000 (00:44 +0000)
commit951c5a29644759d8d9c9e670559c2ad6754ed2e7
tree319c5ad636b9f22a2f9bc0aa571d9f8b54b22a4c
parentfb48e8760ed20eff57cedac2f50be5f86e81eee0
Makefile: pass KEYDIR when set to sunxi-spl.bin mkimage

Currently we pass this for u-boot-spl.kwb targets, however when
building sunxi-spl.bin in the TOC0 format we may also need to
specify a KEYDIR, as such we should also pass this when set
to mkimage for the sunxi-spl.bin target.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
scripts/Makefile.xpl