ARM64: zynq: Fix boot.bin generation for Zynq and ZynqMP
authorMichal Simek <michal.simek@xilinx.com>
Mon, 30 May 2016 12:57:02 +0000 (14:57 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 6 Jun 2016 09:23:27 +0000 (11:23 +0200)
Fix boot.bin generation for Zynq and ZynqMP.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Acked-by: Marek Vasut <marex@denx.de>
scripts/Makefile.spl

index 6d2017da7e975e88295629bf4dcfaa3450fa43a7..0997fd9fddfc862dec9164bc7ccc82cf96986b9c 100644 (file)
@@ -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)