1# SPDX-License-Identifier: GPL-2.0 2# Makefile for the Linux device tree 3 4obj-y := component.o core.o bus.o dd.o syscore.o \ 5 driver.o class.o platform.o \ 6 cpu.o firmware.o init.o map.o devres.o \ 7 attribute_container.o transport_class.o \ 8 topology.o container.o property.o cacheinfo.o \ 9 devcon.o 10obj-$(CONFIG_DEVTMPFS) += devtmpfs.o 11obj-$(CONFIG_DMA_CMA) += dma-contiguous.o 12obj-y += power/ 13obj-$(CONFIG_HAS_DMA) += dma-mapping.o 14obj-$(CONFIG_HAVE_GENERIC_DMA_COHERENT) += dma-coherent.o 15obj-$(CONFIG_ISA_BUS_API) += isa.o 16obj-y += firmware_loader/ 17obj-$(CONFIG_NUMA) += node.o 18obj-$(CONFIG_MEMORY_HOTPLUG_SPARSE) += memory.o 19ifeq ($(CONFIG_SYSFS),y) 20obj-$(CONFIG_MODULES) += module.o 21endif 22obj-$(CONFIG_SYS_HYPERVISOR) += hypervisor.o 23obj-$(CONFIG_REGMAP) += regmap/ 24obj-$(CONFIG_SOC_BUS) += soc.o 25obj-$(CONFIG_PINCTRL) += pinctrl.o 26obj-$(CONFIG_DEV_COREDUMP) += devcoredump.o 27obj-$(CONFIG_GENERIC_MSI_IRQ_DOMAIN) += platform-msi.o 28obj-$(CONFIG_GENERIC_ARCH_TOPOLOGY) += arch_topology.o 29 30obj-y += test/ 31 32ccflags-$(CONFIG_DEBUG_DRIVER) := -DDEBUG 33 34