aboutsummaryrefslogtreecommitdiff
path: root/board/sifive/unmatched/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'board/sifive/unmatched/Makefile')
-rw-r--r--board/sifive/unmatched/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/sifive/unmatched/Makefile b/board/sifive/unmatched/Makefile
index e00b330..1345330 100644
--- a/board/sifive/unmatched/Makefile
+++ b/board/sifive/unmatched/Makefile
@@ -2,9 +2,10 @@
#
# Copyright (c) 2020-2021 SiFive, Inc
-obj-y += unmatched.o
obj-$(CONFIG_ID_EEPROM) += hifive-platform-i2c-eeprom.o
ifdef CONFIG_SPL_BUILD
obj-y += spl.o
+else
+obj-y += unmatched.o
endif