summaryrefslogtreecommitdiffstats
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, 1 insertions, 1 deletions
diff --git a/drivers/core/Makefile b/drivers/core/Makefile
index 1dd25a3660..11e0276e56 100644
--- a/drivers/core/Makefile
+++ b/drivers/core/Makefile
@@ -7,7 +7,7 @@
obj-y += device.o lists.o root.o uclass.o util.o
obj-$(CONFIG_DEVRES) += devres.o
ifndef CONFIG_SPL_BUILD
-obj-$(CONFIG_OF_CONTROL) += simple-bus.o
+obj-$(CONFIG_$(SPL_)OF_CONTROL) += simple-bus.o
endif
obj-$(CONFIG_$(SPL_)DM_DEVICE_REMOVE) += device-remove.o
obj-$(CONFIG_DM) += dump.o
OpenPOWER on IntegriCloud