diff options
| author | James Hilliard <james.hilliard1@gmail.com> | 2025-04-10 19:10:25 -0600 |
|---|---|---|
| committer | Andre Przywara <andre.przywara@arm.com> | 2025-10-27 00:44:53 +0000 |
| commit | 951c5a29644759d8d9c9e670559c2ad6754ed2e7 (patch) | |
| tree | 319c5ad636b9f22a2f9bc0aa571d9f8b54b22a4c /scripts | |
| parent | fb48e8760ed20eff57cedac2f50be5f86e81eee0 (diff) | |
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>
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/Makefile.xpl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/Makefile.xpl b/scripts/Makefile.xpl index 3e940bf562d..52f014ad332 100644 --- a/scripts/Makefile.xpl +++ b/scripts/Makefile.xpl @@ -442,7 +442,8 @@ MKIMAGEFLAGS_sunxi-spl.bin = \ -A $(ARCH) \ -T $(CONFIG_SPL_IMAGE_TYPE) \ -a $(CONFIG_SPL_TEXT_BASE) \ - -n $(CONFIG_DEFAULT_DEVICE_TREE) + -n $(CONFIG_DEFAULT_DEVICE_TREE) \ + $(if $(KEYDIR),-k $(KEYDIR)) OBJCOPYFLAGS_u-boot-spl-dtb.hex := -I binary -O ihex --change-address=$(CONFIG_SPL_TEXT_BASE) |
