aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2022-01-01 19:50:39 +0100
committerStefano Babic <sbabic@denx.de>2022-02-05 13:38:39 +0100
commit0c5cc164a911e1e2ae9b4de7224a10cea0309491 (patch)
tree44a1c53dfff3fe93b096ff9d3eb5690a6c58ec46 /Makefile
parent8ed378ff78d1b4e46b7b81c40ae76b7e2660d7fb (diff)
downloadu-boot-0c5cc164a911e1e2ae9b4de7224a10cea0309491.zip
u-boot-0c5cc164a911e1e2ae9b4de7224a10cea0309491.tar.gz
u-boot-0c5cc164a911e1e2ae9b4de7224a10cea0309491.tar.bz2
Makefile: imx: Do not call arch/arm/mach-imx flash.bin generation if BINMAN enabled
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> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 184223e..a69cc08 100644
--- a/Makefile
+++ b/Makefile
@@ -1535,7 +1535,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 $@