diff options
Diffstat (limited to 'drivers/core/Makefile')
-rw-r--r-- | drivers/core/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/core/Makefile b/drivers/core/Makefile index 151c2398a4d..f14695b2d6e 100644 --- a/drivers/core/Makefile +++ b/drivers/core/Makefile @@ -4,5 +4,6 @@ # SPDX-License-Identifier: GPL-2.0+ # -obj-y := device.o lists.o root.o uclass.o util.o +obj-$(CONFIG_DM) += device.o lists.o root.o uclass.o util.o obj-$(CONFIG_OF_CONTROL) += simple-bus.o +obj-$(CONFIG_DM_DEVICE_REMOVE) += device-remove.o |