Merge tag 'u-boot-imx-20190129' of git://git.denx.de/u-boot-imx
[oweals/u-boot.git] / Makefile
index 06c58408fdf0e71b9ba2e17274adfb63be74ecba..9ca414e68d4d3970492cf3d8d9a328ef6240f693 100644 (file)
--- 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