summaryrefslogtreecommitdiffstats
path: root/board/compulab/cm_t43/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'board/compulab/cm_t43/Makefile')
-rw-r--r--board/compulab/cm_t43/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/board/compulab/cm_t43/Makefile b/board/compulab/cm_t43/Makefile
index 399368920d..c749659b26 100644
--- a/board/compulab/cm_t43/Makefile
+++ b/board/compulab/cm_t43/Makefile
@@ -6,4 +6,8 @@
# SPDX-License-Identifier: GPL-2.0+
#
-obj-y += board.o mux.o
+ifdef CONFIG_SPL_BUILD
+obj-y += spl.o mux.o
+else
+obj-y += cm_t43.o mux.o
+endif
OpenPOWER on IntegriCloud