From: Vidya Sagar Date: Thu, 31 Oct 2013 09:21:38 +0000 (+0530) Subject: tegra: allow build to succeed with SPL disabled X-Git-Tag: v2014.01-rc3~9^2~64^2~5 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7dcd3a21ff556a196d60227fa04c9cdc5f9faa9c;p=u-boot 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 Signed-off-by: Tom Warren --- diff --git a/Makefile b/Makefile index 7310c4ef0a..0d86b555d7 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