Merge git://git.denx.de/u-boot-dm
[platform/kernel/u-boot.git] / drivers / core / Makefile
index d74b065..fd2d4de 100644 (file)
@@ -12,4 +12,7 @@ obj-$(CONFIG_DM)      += dump.o
 obj-$(CONFIG_$(SPL_)REGMAP)    += regmap.o
 obj-$(CONFIG_$(SPL_)SYSCON)    += syscon-uclass.o
 obj-$(CONFIG_OF_LIVE) += of_access.o of_addr.o
-obj-$(CONFIG_OF_CONTROL) += of_extra.o ofnode.o
+ifndef CONFIG_DM_DEV_READ_INLINE
+obj-$(CONFIG_OF_CONTROL) += read.o
+endif
+obj-$(CONFIG_OF_CONTROL) += of_extra.o ofnode.o read_extra.o