[PATCH 1/4] microblaze: fix 'FORCE prerequisite is missing' warning
From: Masahiro Yamada
Date: Tue Jan 14 2025 - 13:16:31 EST
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@xxxxxxxxxx>
---
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