]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
zynq: Fix the build error when SPL is not built.
authorJason Wu <j.wu@xilinx.com>
Mon, 24 Feb 2014 03:52:53 +0000 (13:52 +1000)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 24 Feb 2014 07:00:31 +0000 (08:00 +0100)
Don't generated Boot.bin unless CONFIG_SPL is defined

Signed-off-by: Jason Wu <j.wu@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Makefile

index d89962d03f858ada5d305eade79f9eb186c93edd..0419debd8e9cd4549daf5e96163097e4706ba42f 100755 (executable)
--- a/Makefile
+++ b/Makefile
@@ -363,8 +363,10 @@ endif
 endif
 
 ifneq ($(CONFIG_ZYNQ),)
+ifeq ($(CONFIG_SPL),y)
 ALL-y += $(obj)boot.bin
 endif
+endif
 
 build := -f $(TOPDIR)/scripts/Makefile.build -C