summaryrefslogtreecommitdiff
path: root/spl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'spl/Makefile')
-rw-r--r--spl/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/spl/Makefile b/spl/Makefile
index 5339338..f273015 100644
--- a/spl/Makefile
+++ b/spl/Makefile
@@ -14,6 +14,8 @@
# Based on top-level Makefile.
#
+include $(srctree)/scripts/Kbuild.include
+
CONFIG_SPL_BUILD := y
export CONFIG_SPL_BUILD
@@ -127,8 +129,6 @@ ifeq ($(wildcard $(LDSCRIPT)),)
$(error could not find linker script)
endif
-build := -f $(TOPDIR)/scripts/Makefile.build -C
-
# Special flags for CPP when processing the linker script.
# Pass the version down so we can handle backwards compatibility
# on the fly.