aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPhilippe Reynes <philippe.reynes@softathome.com>2022-03-28 22:57:03 +0200
committerTom Rini <trini@konsulko.com>2022-03-31 14:12:01 -0400
commitd12c1be9036ce9ceb584bc1e0aa33da91cedad04 (patch)
treef58eeabaa014c59c98792f1d40dab8300856bbe5 /Makefile
parent6e052d1cbafbedbfba73070da483111f2ae68e5a (diff)
downloadu-boot-d12c1be9036ce9ceb584bc1e0aa33da91cedad04.zip
u-boot-d12c1be9036ce9ceb584bc1e0aa33da91cedad04.tar.gz
u-boot-d12c1be9036ce9ceb584bc1e0aa33da91cedad04.tar.bz2
Makefile: provide sah-key to binman
Set the variable pre-load-key-path with the shell variable PRE_LOAD_KEY_PATH that contain the keys path (used for signature). This variable pre-load-key-path is provided to binman. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6a0234a..b527a36 100644
--- a/Makefile
+++ b/Makefile
@@ -1342,6 +1342,7 @@ cmd_binman = $(srctree)/tools/binman/binman $(if $(BINMAN_DEBUG),-D) \
-a tpl-bss-pad=$(if $(CONFIG_TPL_SEPARATE_BSS),,1) \
-a spl-dtb=$(CONFIG_SPL_OF_REAL) \
-a tpl-dtb=$(CONFIG_TPL_OF_REAL) \
+ -a pre-load-key-path=${PRE_LOAD_KEY_PATH} \
$(BINMAN_$(@F))
OBJCOPYFLAGS_u-boot.ldr.hex := -I binary -O ihex