Fix boot.bin generation for Zynq and ZynqMP.

Signed-off-by: Michal Simek <michal.si...@xilinx.com>
---

 scripts/Makefile.spl | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/scripts/Makefile.spl b/scripts/Makefile.spl
index 6d2017da7e97..0997fd9fddfc 100644
--- a/scripts/Makefile.spl
+++ b/scripts/Makefile.spl
@@ -158,11 +158,8 @@ ifeq ($(CONFIG_SYS_SOC),"at91")
 ALL-y  += boot.bin
 endif
 
-ifdef CONFIG_ARCH_ZYNQ
-ALL-y  += $(obj)/boot.bin
-endif
-
-ALL-(CONFIG_ARCH_ZYNQMP)       += $(obj)/boot.bin
+ALL-$(CONFIG_ARCH_ZYNQ)                += $(obj)/boot.bin
+ALL-$(CONFIG_ARCH_ZYNQMP)      += $(obj)/boot.bin
 
 all:   $(ALL-y)
 
-- 
1.9.1

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to