[PATCH 2/6] ARM: k3: quote PEM files
Sascha Hauer
s.hauer at pengutronix.de
Thu Aug 14 03:46:50 PDT 2025
In future we'll be able to pass PKCS#11 uris instead of PEM files to the
k3 image tool. As these may contain semicolons quote the PEM files to
pass the uris properly to the shell.
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
images/Makefile.k3 | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/images/Makefile.k3 b/images/Makefile.k3
index 55c14d9da7136953c91fa4abbc1c88936a7efdb7..0024cefa3687778487749f39b1c5bb57d490ec10 100644
--- a/images/Makefile.k3
+++ b/images/Makefile.k3
@@ -96,7 +96,7 @@ quiet_cmd_k3_am62x_image = K3_am62x_IMG $@
$(SYSFWDATA_$(@F)):18:0:0:00067000 \
$$inner \
$(DMDATA_$(@F)):17:16:0:43c3a800 \
- --key $(KEY_$(@F)) --out $@
+ --key "$(KEY_$(@F))" --out $@
quiet_cmd_k3_am62lx_image = K3_am62lx_IMG $@
cmd_k3_am62lx_image = \
@@ -115,7 +115,7 @@ quiet_cmd_k3_am62lx_image = K3_am62lx_IMG $@
$$inner \
$$optee \
$<:17:16:0:82000000 \
- --key $(KEY_$(@F)) --out $@
+ --key "$(KEY_$(@F))" --out $@
quiet_cmd_k3_am62lx_tiboot3_image = K3_am62lx_tiboot3_IMG $@
cmd_k3_am62lx_tiboot3_image = \
@@ -124,7 +124,7 @@ quiet_cmd_k3_am62lx_tiboot3_image = K3_am62lx_tiboot3_IMG $@
$(SYSFW_$(@F)):2:0:0:00040000 \
$(SYSFWDATA_$(@F)):18:0:0:0006c000 \
$(INNERDATA_$(@F)):3:0:0:00000000 \
- --key $(KEY_$(@F)) \
+ --key "$(KEY_$(@F))" \
--out $@
$(obj)/%.k3_am62x_img: $(obj)/% scripts/k3img FORCE
--
2.39.5
More information about the barebox
mailing list