X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=drivers%2Fcore%2FMakefile;h=f19f67d30f76b17571a362c9fd360a7312800a90;hb=42c91c10c52a3f3512ad5c5e906bc118349bbff5;hp=54d57e557d83642390b1945f9156b7692d2ae36e;hpb=5725128507eca41bb110d702858ca2c8d7dc4085;p=oweals%2Fu-boot.git diff --git a/drivers/core/Makefile b/drivers/core/Makefile index 54d57e557d..f19f67d30f 100644 --- a/drivers/core/Makefile +++ b/drivers/core/Makefile @@ -4,11 +4,10 @@ # SPDX-License-Identifier: GPL-2.0+ # -obj-$(CONFIG_DM) += 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-y += device.o lists.o root.o uclass.o util.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_OF_CONTROL) += regmap.o -obj-$(CONFIG_OF_CONTROL) += syscon-uclass.o +obj-$(CONFIG_REGMAP) += regmap.o +obj-$(CONFIG_SYSCON) += syscon-uclass.o