dm: drop CONFIG_DM_DEVICE_REMOVE from uncmd list
[oweals/u-boot.git] / drivers / core / Makefile
index ccc2fd4e21ae1f9ab53fd3c181e06007f5e7d8c5..1dd25a366074910b9a77cca2b74fcee8f491e21a 100644 (file)
@@ -9,7 +9,7 @@ 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_$(SPL_)DM_DEVICE_REMOVE)  += device-remove.o
 obj-$(CONFIG_DM)       += dump.o
 obj-$(CONFIG_REGMAP)   += regmap.o
 obj-$(CONFIG_SYSCON)   += syscon-uclass.o