summaryrefslogtreecommitdiff
path: root/board/spear/common
diff options
context:
space:
mode:
Diffstat (limited to 'board/spear/common')
-rw-r--r--board/spear/common/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/board/spear/common/Makefile b/board/spear/common/Makefile
index 08dc09f06d..b0ba320481 100644
--- a/board/spear/common/Makefile
+++ b/board/spear/common/Makefile
@@ -5,7 +5,10 @@
# SPDX-License-Identifier: GPL-2.0+
#
-ifndef CONFIG_SPL_BUILD
+ifdef CONFIG_SPL_BUILD
+# necessary to create built-in.o
+obj- := __dummy__.o
+else
obj-y := spr_misc.o
obj-y += spr_lowlevel_init.o
endif