summaryrefslogtreecommitdiff
path: root/spl
diff options
context:
space:
mode:
Diffstat (limited to 'spl')
-rw-r--r--spl/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/spl/Makefile b/spl/Makefile
index 6b985d1e4ac..13612d3f8a8 100644
--- a/spl/Makefile
+++ b/spl/Makefile
@@ -40,6 +40,14 @@ else
SPL_BIN := u-boot-spl
endif
+include include/config.mk
+
+ifeq ($(CONFIG_TPL_BUILD),y)
+ -include include/tpl-autoconf.mk
+else
+ -include include/spl-autoconf.mk
+endif
+
include $(TOPDIR)/config.mk
HAVE_VENDOR_COMMON_LIB = $(if $(wildcard $(SRCTREE)/board/$(VENDOR)/common/Makefile),y,n)