summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorVidya Sagar <vidyas@nvidia.com>2013-10-31 14:51:38 +0530
committerTom Warren <twarren@nvidia.com>2013-12-18 10:19:48 -0700
commit7dcd3a21ff556a196d60227fa04c9cdc5f9faa9c (patch)
tree61d865255335e36c5a7e7323ec781b455785fc27 /Makefile
parente4e251a94a8477d36fa61a9c219430fa4c83fb6b (diff)
tegra: allow build to succeed with SPL disabled
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7310c4ef0af..0d86b555d70 100644
--- 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