tegra: allow build to succeed with SPL disabled
authorVidya Sagar <vidyas@nvidia.com>
Thu, 31 Oct 2013 09:21:38 +0000 (14:51 +0530)
committerTom Warren <twarren@nvidia.com>
Wed, 18 Dec 2013 17:19:48 +0000 (10:19 -0700)
u-boot-dtb-tegra.bin and u-boot-nodtb-tegra.bin binaries
are generated only if the SPL build is enabled as they have
dependency on SPL build

Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
Makefile

index 7310c4e..0d86b55 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -350,12 +350,14 @@ endif
 
 # enable combined SPL/u-boot/dtb rules for tegra
 ifneq ($(CONFIG_TEGRA),)
+ifeq ($(CONFIG_SPL),y)
 ifeq ($(CONFIG_OF_SEPARATE),y)
 ALL-y += $(obj)u-boot-dtb-tegra.bin
 else
 ALL-y += $(obj)u-boot-nodtb-tegra.bin
 endif
 endif
+endif
 
 build := -f $(TOPDIR)/scripts/Makefile.build -C