Merge git://git.denx.de/u-boot-dm
[oweals/u-boot.git] / drivers / core / Makefile
index c7905b14409fcf4fe56653655960de8407c5348b..ccc2fd4e21ae1f9ab53fd3c181e06007f5e7d8c5 100644 (file)
@@ -4,4 +4,12 @@
 # SPDX-License-Identifier:     GPL-2.0+
 #
 
-obj-y := device.o lists.o root.o uclass.o util.o
+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
+endif
+obj-$(CONFIG_DM_DEVICE_REMOVE) += device-remove.o
+obj-$(CONFIG_DM)       += dump.o
+obj-$(CONFIG_REGMAP)   += regmap.o
+obj-$(CONFIG_SYSCON)   += syscon-uclass.o