]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/core/Makefile
dm: core: Add Kconfig for simple bus driver
[karo-tx-uboot.git] / drivers / core / Makefile
index ce3027a8512d54a1bfd983b2612985204f4dc937..f19f67d30f76b17571a362c9fd360a7312800a90 100644 (file)
@@ -5,10 +5,9 @@
 #
 
 obj-y  += 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
+obj-$(CONFIG_DEVRES) += devres.o
+obj-$(CONFIG_$(SPL_)DM_DEVICE_REMOVE)  += device-remove.o
+obj-$(CONFIG_$(SPL_)SIMPLE_BUS)        += simple-bus.o
 obj-$(CONFIG_DM)       += dump.o
 obj-$(CONFIG_REGMAP)   += regmap.o
 obj-$(CONFIG_SYSCON)   += syscon-uclass.o