The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Masahiro Yamada <masahiroy@kernel.org>
To: Michal Simek <monstr@monstr.eu>
Cc: linux-kernel@vger.kernel.org,
	Masahiro Yamada <masahiroy@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Rob Herring <robh@kernel.org>,
	devicetree@vger.kernel.org
Subject: [PATCH 1/4] microblaze: fix 'FORCE prerequisite is missing' warning
Date: Wed, 15 Jan 2025 03:13:51 +0900	[thread overview]
Message-ID: <20250114181359.4192564-1-masahiroy@kernel.org> (raw)

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


             reply	other threads:[~2025-01-14 18:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-14 18:13 Masahiro Yamada [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250114181359.4192564-1-masahiroy@kernel.org \
    --to=masahiroy@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=monstr@monstr.eu \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox