aboutsummaryrefslogtreecommitdiff
path: root/drivers/core/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/core/Makefile')
-rw-r--r--drivers/core/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/core/Makefile b/drivers/core/Makefile
index f14695b2d6e..a3fec385039 100644
--- a/drivers/core/Makefile
+++ b/drivers/core/Makefile
@@ -5,5 +5,7 @@
#
obj-$(CONFIG_DM) += device.o lists.o root.o uclass.o util.o
+ifndef CONFIG_SPL_BUILD
obj-$(CONFIG_OF_CONTROL) += simple-bus.o
+endif
obj-$(CONFIG_DM_DEVICE_REMOVE) += device-remove.o