summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2018-12-21 06:21:31 +0000
committerStefano Babic <sbabic@denx.de>2019-01-28 20:35:47 +0100
commitcaceb739ea07dc6a3d4277c626abf0eb797cd32e (patch)
tree81e4d59e0954c4bbb371d8756bdb6486b1548b08 /Makefile
parentb184a796a0adf6f515fcd423b14af10f92c5f77f (diff)
downloadu-boot-caceb739ea07dc6a3d4277c626abf0eb797cd32e.tar.gz
imx: build flash.bin for i.MX8
Build flash.bin for i.MX8 when SPL enabled. Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index cf7b2b10bc..f3867cb017 100644
--- a/Makefile
+++ b/Makefile
@@ -1254,7 +1254,7 @@ tpl/u-boot-with-tpl.bin: tpl/u-boot-tpl.bin u-boot.bin FORCE
SPL: spl/u-boot-spl.bin FORCE
$(Q)$(MAKE) $(build)=arch/arm/mach-imx $@
-ifeq ($(CONFIG_ARCH_IMX8M), y)
+ifeq ($(CONFIG_ARCH_IMX8M)$(CONFIG_ARCH_IMX8), y)
flash.bin: spl/u-boot-spl.bin u-boot.itb FORCE
$(Q)$(MAKE) $(build)=arch/arm/mach-imx $@
endif