The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH 1/4] microblaze: fix 'FORCE prerequisite is missing' warning
@ 2025-01-14 18:13 Masahiro Yamada
  2025-01-14 18:13 ` [PATCH 2/4] microblaze: merge build rules for linux.bin and simpleImage.$(DTB) Masahiro Yamada
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Masahiro Yamada @ 2025-01-14 18:13 UTC (permalink / raw)
  To: Michal Simek
  Cc: linux-kernel, Masahiro Yamada, Conor Dooley, Krzysztof Kozlowski,
	Rob Herring, devicetree

If you add foo.dtb into the arch/microblaze/boot/dts/ directory and
run 'make simpleImage.foo', you will observe the following warning:

  arch/microblaze/boot/dts/Makefile:15: FORCE prerequisite is missing

Without FORCE, if_changed cannot detect the command line changes.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---

 arch/microblaze/boot/dts/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/microblaze/boot/dts/Makefile b/arch/microblaze/boot/dts/Makefile
index b84e2cbb20ee..932dc7550a1b 100644
--- a/arch/microblaze/boot/dts/Makefile
+++ b/arch/microblaze/boot/dts/Makefile
@@ -11,7 +11,7 @@ $(obj)/linked_dtb.o: $(obj)/system.dtb
 
 # Generate system.dtb from $(DTB).dtb
 ifneq ($(DTB),system)
-$(obj)/system.dtb: $(obj)/$(DTB).dtb
+$(obj)/system.dtb: $(obj)/$(DTB).dtb FORCE
 	$(call if_changed,copy)
 endif
 endif
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-06-10  7:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-14 18:13 [PATCH 1/4] microblaze: fix 'FORCE prerequisite is missing' warning Masahiro Yamada
2025-01-14 18:13 ` [PATCH 2/4] microblaze: merge build rules for linux.bin and simpleImage.$(DTB) Masahiro Yamada
2025-01-14 18:13 ` [PATCH 3/4] microblaze: prevent linux.bin from containing a built-in DTB Masahiro Yamada
2025-01-14 18:13 ` [PATCH 4/4] microblaze: remove unnecessary system.dts Masahiro Yamada
2025-01-31 22:25   ` Rob Herring
2025-02-01  3:42     ` Masahiro Yamada
2025-02-03 11:17       ` Michal Simek
2025-05-13  4:50         ` Masahiro Yamada
2025-06-10  7:49           ` Michal Simek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox