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 7310c4ef0af4e6da4a27fa2b5f5ba39e9e69f602..0d86b555d70d3ebb04dc9170755873b0b83d9ca9 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