diff --git a/Makefile b/Makefile index 7310c4ef0af4e6da4a27fa2b5f5ba39e9e69f602..0d86b555d70d3ebb04dc9170755873b0b83d9ca9 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