From: Sascha Hauer <s.hauer@pengutronix.de>
To: Barebox List <barebox@lists.infradead.org>
Subject: [PATCH] images: add missing FORCE prerequisite
Date: Thu, 12 Dec 2024 09:15:09 +0100 [thread overview]
Message-ID: <20241212081509.2911001-1-s.hauer@pengutronix.de> (raw)
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@pengutronix.de>
---
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
next reply other threads:[~2024-12-12 8:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-12 8:15 Sascha Hauer [this message]
2024-12-12 8:22 ` Ahmad Fatoum
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=20241212081509.2911001-1-s.hauer@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.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