From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Cc: Marek Vasut <marex@denx.de>, Peng Fan <peng.fan@oss.nxp.com>,
Simon Glass <sjg@chromium.org>
Subject: [PATCH] Makefile: imx: Do not call arch/arm/mach-imx flash.bin generation if BINMAN enabled
Date: Sat, 1 Jan 2022 19:50:39 +0100 [thread overview]
Message-ID: <20220101185039.470766-1-marex@denx.de> (raw)
Skip running arch/arm/mach-imx flash.bin generation in case BINMAN is
enabled, otherwise the target in arch/arm/mach-imx/Makefile regenerates
the flash.bin again and produces corrupted result.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Peng Fan <peng.fan@oss.nxp.com>
Cc: Simon Glass <sjg@chromium.org>
---
Makefile | 1 -
1 file changed, 1 deletion(-)
diff --git a/Makefile b/Makefile
index ae9bfab91ac..c04caaebc8e 100644
--- a/Makefile
+++ b/Makefile
@@ -1517,7 +1517,6 @@ else
ifeq ($(CONFIG_BINMAN),y)
flash.bin: spl/u-boot-spl.bin $(INPUTS-y) FORCE
$(call if_changed,binman)
- $(Q)$(MAKE) $(build)=arch/arm/mach-imx $@
else
flash.bin: spl/u-boot-spl.bin u-boot.itb FORCE
$(Q)$(MAKE) $(build)=arch/arm/mach-imx $@
--
2.34.1
next reply other threads:[~2022-01-01 18:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-01 18:50 Marek Vasut [this message]
2022-01-12 20:03 ` [PATCH] Makefile: imx: Do not call arch/arm/mach-imx flash.bin generation if BINMAN enabled Simon Glass
2022-02-05 16:43 ` sbabic
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=20220101185039.470766-1-marex@denx.de \
--to=marex@denx.de \
--cc=peng.fan@oss.nxp.com \
--cc=sjg@chromium.org \
--cc=u-boot@lists.denx.de \
/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