xref: /linux-6.15/drivers/base/Makefile (revision e6b5be2b)
11da177e4SLinus Torvalds# Makefile for the Linux device tree
21da177e4SLinus Torvalds
32a41e607SRussell Kingobj-y			:= component.o core.o bus.o dd.o syscore.o \
4cd987d38S[email protected]			   driver.o class.o platform.o \
5411f0f3eSHeiko Carstens			   cpu.o firmware.o init.o map.o devres.o \
6ccbc60d3SBen Hutchings			   attribute_container.o transport_class.o \
7e6b5be2bSLinus Torvalds			   topology.o container.o property.o cacheinfo.o
82b2af54aSKay Sieversobj-$(CONFIG_DEVTMPFS)	+= devtmpfs.o
9f825c736SAneesh Kumar K.Vobj-$(CONFIG_DMA_CMA) += dma-contiguous.o
101da177e4SLinus Torvaldsobj-y			+= power/
11141e9d4bSMatthew Wilcoxobj-$(CONFIG_HAS_DMA)	+= dma-mapping.o
12a56af876SMing Leiobj-$(CONFIG_HAVE_GENERIC_DMA_COHERENT) += dma-coherent.o
13a5117ba7SRene Hermanobj-$(CONFIG_ISA)	+= isa.o
141da177e4SLinus Torvaldsobj-$(CONFIG_FW_LOADER)	+= firmware_class.o
151da177e4SLinus Torvaldsobj-$(CONFIG_NUMA)	+= node.o
1653947027SKeith Manntheyobj-$(CONFIG_MEMORY_HOTPLUG_SPARSE) += memory.o
1792b42141SRandy Dunlapifeq ($(CONFIG_SYSFS),y)
18c63469a3SGreg Kroah-Hartmanobj-$(CONFIG_MODULES)	+= module.o
1992b42141SRandy Dunlapendif
204039483fSMichael Holzheuobj-$(CONFIG_SYS_HYPERVISOR) += hypervisor.o
21b83a313bSMark Brownobj-$(CONFIG_REGMAP)	+= regmap/
2274d1d82cSLee Jonesobj-$(CONFIG_SOC_BUS) += soc.o
23ab78029eSLinus Walleijobj-$(CONFIG_PINCTRL) += pinctrl.o
24*833c9545SJohannes Bergobj-$(CONFIG_DEV_COREDUMP) += devcoredump.o
251da177e4SLinus Torvalds
267a868088Smatt mooneyccflags-$(CONFIG_DEBUG_DRIVER) := -DDEBUG
271da177e4SLinus Torvalds
28