[Concept,1/2] efi: Add a missing dependency for capsule_esl_dtsi

Message ID 20250910173739.2267004-1-sjg@u-boot.org
State New
Headers
Series [Concept,1/2] efi: Add a missing dependency for capsule_esl_dtsi |

Commit Message

Simon Glass Sept. 10, 2025, 5:37 p.m. UTC
  From: Simon Glass <sjg@chromium.org>

The input file is used to process the dtsi, so add a dependency. This
bug was previously masked by a FORCE which was removed in

   7738c4c2d79 Makefile: Avoid FORCE with ESL

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 scripts/Makefile.lib | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index 4863e360d73..8300c8104ce 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -421,7 +421,7 @@  quiet_cmd_capsule_dtsi_gen = CAPSULE $@
 cmd_capsule_dtsi_gen = \
 	$(shell sed "s:ESL_BIN_FILE:$(abspath $<):" $(capsule_esl_input_file) > $@)
 
-$(obj)/$(capsule_esl_dtsi): $(obj)/capsule_esl_file
+$(obj)/$(capsule_esl_dtsi): $(obj)/capsule_esl_file $(capsule_esl_input_file)
 	$(call cmd,capsule_dtsi_gen)
 
 dtsi_include_list_deps := $(addprefix $(u_boot_dtsi_loc),$(subst $(quote),,$(dtsi_include_list)))