[PATCH 4/4] ARM: k3: am62l: fix dependencies on k3img input files
Sascha Hauer
s.hauer at pengutronix.de
Tue Dec 2 07:58:28 PST 2025
Apart from the barebox image itself the k3img tool has several other
input files. Add proper dependencies on them to make sure the image
is rebuilt when one of the input files changes.
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
images/Makefile.k3 | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/images/Makefile.k3 b/images/Makefile.k3
index caaca1fbc9a1e90921ba873d61c7627d1e8f5e19..789f77722abd4128fa2ed31ca5009da00a25cd61 100644
--- a/images/Makefile.k3
+++ b/images/Makefile.k3
@@ -126,8 +126,16 @@ quiet_cmd_k3_am62lx_tiboot3_image = K3_am62lx_tiboot3_IMG $@
$(obj)/%.k3_am62x_img: $(obj)/% scripts/k3img FORCE
$(call if_changed,k3_am62x_image)
-$(obj)/%.k3_am62lx_img: $(obj)/% scripts/k3img FORCE
+$(obj)/%.k3_am62lx_img: $(obj)/% scripts/k3img FORCE \
+ $(TFA_BL31_am62lx) \
+ $(INNERDATA_am62lx) \
+ $(SYSFW_am62lx_hs_fs) \
+ $(SYSFWDATA_am62lx) \
+ $(AM62L_TIBOOT3_OPTEE)
$(call if_changed,k3_am62lx_image)
-$(obj)/%.k3_am62lx_tiboot3_img: $(obj)/% scripts/k3img FORCE
+$(obj)/%.k3_am62lx_tiboot3_img: $(obj)/% scripts/k3img FORCE \
+ $(SYSFW_am62lx_hs_fs) \
+ $$(TFA_BL1_$$(@F)) \
+ $(INNERDATA_am62lx)
$(call if_changed,k3_am62lx_tiboot3_image)
--
2.47.3
More information about the barebox
mailing list