mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-12-16 15:02:16 +01:00
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>
This commit is contained in:
parent
8ed378ff78
commit
0c5cc164a9
1
Makefile
1
Makefile
@ -1535,7 +1535,6 @@ else
|
|||||||
ifeq ($(CONFIG_BINMAN),y)
|
ifeq ($(CONFIG_BINMAN),y)
|
||||||
flash.bin: spl/u-boot-spl.bin $(INPUTS-y) FORCE
|
flash.bin: spl/u-boot-spl.bin $(INPUTS-y) FORCE
|
||||||
$(call if_changed,binman)
|
$(call if_changed,binman)
|
||||||
$(Q)$(MAKE) $(build)=arch/arm/mach-imx $@
|
|
||||||
else
|
else
|
||||||
flash.bin: spl/u-boot-spl.bin u-boot.itb FORCE
|
flash.bin: spl/u-boot-spl.bin u-boot.itb FORCE
|
||||||
$(Q)$(MAKE) $(build)=arch/arm/mach-imx $@
|
$(Q)$(MAKE) $(build)=arch/arm/mach-imx $@
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user