X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=drivers%2Fcore%2FMakefile;h=bce7467da1d11de804e3c1a6fdc0be40e4811fd6;hb=52ba907328ec069ff1cec6cbe659f1714c68ed33;hp=a3fec3850395512d3fdb177feb49ebb1381ca224;hpb=6f43ba70d15e15a08c25b3d956c70addb6740737;p=u-boot diff --git a/drivers/core/Makefile b/drivers/core/Makefile index a3fec38503..bce7467da1 100644 --- a/drivers/core/Makefile +++ b/drivers/core/Makefile @@ -1,11 +1,18 @@ +# SPDX-License-Identifier: GPL-2.0+ # # Copyright (c) 2013 Google, Inc -# -# 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 +obj-y += device.o fdtaddr.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_$(SPL_TPL_)REGMAP) += regmap.o +obj-$(CONFIG_$(SPL_TPL_)SYSCON) += syscon-uclass.o +obj-$(CONFIG_OF_LIVE) += of_access.o of_addr.o +ifndef CONFIG_DM_DEV_READ_INLINE +obj-$(CONFIG_OF_CONTROL) += read.o endif -obj-$(CONFIG_DM_DEVICE_REMOVE) += device-remove.o +obj-$(CONFIG_OF_CONTROL) += of_extra.o ofnode.o read_extra.o + +ccflags-$(CONFIG_DM_DEBUG) += -DDEBUG