Remove SPL undefine of CONFIG_OF_CONTROL
[oweals/u-boot.git] / drivers / core / Makefile
index f14695b2d6eae985d366827d69bcedda1ce1e2ce..a3fec3850395512d3fdb177feb49ebb1381ca224 100644 (file)
@@ -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