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 swnode.o 10obj-$(CONFIG_DEVTMPFS) += devtmpfs.o 11obj-y += power/ 12obj-$(CONFIG_ISA_BUS_API) += isa.o 13obj-y += firmware_loader/ 14obj-$(CONFIG_NUMA) += node.o 15obj-$(CONFIG_MEMORY_HOTPLUG_SPARSE) += memory.o 16ifeq ($(CONFIG_SYSFS),y) 17obj-$(CONFIG_MODULES) += module.o 18endif 19obj-$(CONFIG_SYS_HYPERVISOR) += hypervisor.o 20obj-$(CONFIG_REGMAP) += regmap/ 21obj-$(CONFIG_SOC_BUS) += soc.o 22obj-$(CONFIG_PINCTRL) += pinctrl.o 23obj-$(CONFIG_DEV_COREDUMP) += devcoredump.o 24obj-$(CONFIG_GENERIC_MSI_IRQ_DOMAIN) += platform-msi.o 25obj-$(CONFIG_GENERIC_ARCH_TOPOLOGY) += arch_topology.o 26 27obj-y += test/ 28 29ccflags-$(CONFIG_DEBUG_DRIVER) := -DDEBUG 30 31