From: AVazquez <[email protected]>

Add architecture name, mandatory for types kernel and fdt.

Signed-off-by: AVazquez <[email protected]>
---
 scripts/lib/ptxd_make_fit_image.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scripts/lib/ptxd_make_fit_image.sh 
b/scripts/lib/ptxd_make_fit_image.sh
index 56f2736..9754d1e 100644
--- a/scripts/lib/ptxd_make_fit_image.sh
+++ b/scripts/lib/ptxd_make_fit_image.sh
@@ -20,6 +20,7 @@ ptxd_make_image_fit_its() {
                        description = "kernel";
                        data = /incbin/("${image_kernel}");
                        type = "kernel";
+                       arch = "$(ptxd_get_ptxconf PTXCONF_ARCH_STRING)";
                        compression = "none";
                        hash-1 {
                                algo = "sha256";
@@ -47,6 +48,7 @@ EOF
                        data = /incbin/("${i}");
                        compression = "none";
                        type = "flat_dt";
+                       arch = "$(ptxd_get_ptxconf PTXCONF_ARCH_STRING)";
                        hash-1 {
                                algo = "sha256";
                        };
-- 
1.9.1


_______________________________________________
ptxdist mailing list
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to 
[email protected]

Reply via email to