X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=drivers%2Fcore%2FMakefile;h=a3fec3850395512d3fdb177feb49ebb1381ca224;hb=0d3f732fd2ba679b4498541f075d1b1bdbea3935;hp=c7905b14409fcf4fe56653655960de8407c5348b;hpb=f494e0a1847d74e68c460c90253836ea21c431ac;p=platform%2Fkernel%2Fu-boot.git diff --git a/drivers/core/Makefile b/drivers/core/Makefile index c7905b1..a3fec38 100644 --- a/drivers/core/Makefile +++ b/drivers/core/Makefile @@ -4,4 +4,8 @@ # 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 +ifndef CONFIG_SPL_BUILD +obj-$(CONFIG_OF_CONTROL) += simple-bus.o +endif +obj-$(CONFIG_DM_DEVICE_REMOVE) += device-remove.o