blob: 6b2a84e7f2bece5643c2b68a17254067213b99ce [file] [log] [blame]
Kyle Swenson8d8f6542021-03-15 11:02:55 -06001# Makefile for the Linux device tree
2
3obj-y := component.o core.o bus.o dd.o syscore.o \
4 driver.o class.o platform.o \
5 cpu.o firmware.o init.o map.o devres.o \
6 attribute_container.o transport_class.o \
7 topology.o container.o property.o cacheinfo.o
8obj-$(CONFIG_DEVTMPFS) += devtmpfs.o
9obj-$(CONFIG_DMA_CMA) += dma-contiguous.o
10obj-y += power/
11obj-$(CONFIG_HAS_DMA) += dma-mapping.o
12obj-$(CONFIG_HAVE_GENERIC_DMA_COHERENT) += dma-coherent.o
13obj-$(CONFIG_ISA) += isa.o
14obj-$(CONFIG_FW_LOADER) += firmware_class.o
15obj-$(CONFIG_NUMA) += node.o
16obj-$(CONFIG_MEMORY_HOTPLUG_SPARSE) += memory.o
17ifeq ($(CONFIG_SYSFS),y)
18obj-$(CONFIG_MODULES) += module.o
19endif
20obj-$(CONFIG_SYS_HYPERVISOR) += hypervisor.o
21obj-$(CONFIG_REGMAP) += regmap/
22obj-$(CONFIG_SOC_BUS) += soc.o
23obj-$(CONFIG_PINCTRL) += pinctrl.o
24obj-$(CONFIG_DEV_COREDUMP) += devcoredump.o
25obj-$(CONFIG_GENERIC_MSI_IRQ_DOMAIN) += platform-msi.o
26
27ccflags-$(CONFIG_DEBUG_DRIVER) := -DDEBUG
28