Message ID | 20220101185039.470766-1-marex@denx.de |
---|---|
State | Accepted |
Commit | 0c5cc164a911e1e2ae9b4de7224a10cea0309491 |
Delegated to: | Stefano Babic |
Headers | show |
Series | Makefile: imx: Do not call arch/arm/mach-imx flash.bin generation if BINMAN enabled | expand |
On Sat, 1 Jan 2022 at 11:50, Marek Vasut <marex@denx.de> wrote: > > 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(-) Reviewed-by: Simon Glass <sjg@chromium.org>
> 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> Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic
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 $@
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(-)