On Fri, 25 Feb 2022 at 07:58, Philippe Reynes <philippe.rey...@softathome.com> wrote: > > Set the variable key-path with the shell variable > KEY_PATH that contain the keys path (used for signature). > This variable key-path is provided to binman. > > Signed-off-by: Philippe Reynes <philippe.rey...@softathome.com> > --- > Makefile | 1 + > 1 file changed, 1 insertion(+)
Reviewed-by: Simon Glass <s...@chromium.org> > > diff --git a/Makefile b/Makefile > index 697cc51d67..c6da6cdba0 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 key-path=${KEY_PATH} \ I wonder if preload-key might be better, since 'key' is very generic. > $(BINMAN_$(@F)) > > OBJCOPYFLAGS_u-boot.ldr.hex := -I binary -O ihex > -- > 2.17.1 > Regards, Simon