[PATCH] images: add missing FORCE prerequisite

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



With a985c67be ("fixdep: sync with Linux") we now warn about a missing
FORCE prerequisite. Obey that warning and add it to the %.img target.

Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>
---
 images/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/images/Makefile b/images/Makefile
index 9007911278..295a5cd713 100644
--- a/images/Makefile
+++ b/images/Makefile
@@ -146,7 +146,7 @@ $(obj)/barebox.z: $(obj)/../barebox.bin FORCE
 missing_fw = $(strip $(wildcard $(obj)/$(FILE_$(@F)).missing-firmware $(basename $(obj)/$(FILE_$(@F))).missing-firmware))
 
 .SECONDEXPANSION:
-$(obj)/%.img: $(obj)/$$(FILE_$$(@F))
+$(obj)/%.img: $(obj)/$$(FILE_$$(@F)) FORCE
 	$(Q)if [ -z $(FILE_$(@F)) ]; then echo "FILE_$(@F) empty!"; false; fi
 	$(Q)$(if $(missing_fw),cat $(missing_fw) >$@.missing-firmware,rm -f $@.missing-firmware)
 	$(call if_changed,$(if $(missing_fw),delete,shipped))
-- 
2.39.5





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux