diff mbox series

[v8,11/15] Makefile: provide sah-key to binman

Message ID 20220328205707.348270-12-philippe.reynes@softathome.com
State Accepted
Commit d12c1be9036ce9ceb584bc1e0aa33da91cedad04
Delegated to: Tom Rini
Headers show
Series image: add a stage pre-load | expand

Commit Message

Philippe REYNES March 28, 2022, 8:57 p.m. UTC
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>
---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

Comments

Tom Rini March 31, 2022, 11:22 p.m. UTC | #1
On Mon, Mar 28, 2022 at 10:57:03PM +0200, Philippe Reynes wrote:

> 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>

Applied to u-boot/next, thanks!
diff mbox series

Patch

diff --git a/Makefile b/Makefile
index 6998388884..da57315259 100644
--- a/Makefile
+++ b/Makefile
@@ -1335,6 +1335,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