Makefile 1.1 KB
Newer Older
1
# SPDX-License-Identifier: GPL-2.0
L
Linus Torvalds 已提交
2 3
# Makefile for the Linux device tree

4
obj-y			:= component.o core.o bus.o dd.o syscore.o \
5
			   driver.o class.o platform.o \
H
Heiko Carstens 已提交
6
			   cpu.o firmware.o init.o map.o devres.o \
7
			   attribute_container.o transport_class.o \
8 9
			   topology.o container.o property.o cacheinfo.o \
			   devcon.o
10
obj-$(CONFIG_DEVTMPFS)	+= devtmpfs.o
11
obj-$(CONFIG_DMA_CMA) += dma-contiguous.o
L
Linus Torvalds 已提交
12
obj-y			+= power/
M
Matthew Wilcox 已提交
13
obj-$(CONFIG_HAS_DMA)	+= dma-mapping.o
14
obj-$(CONFIG_HAVE_GENERIC_DMA_COHERENT) += dma-coherent.o
15
obj-$(CONFIG_ISA_BUS_API)	+= isa.o
L
Linus Torvalds 已提交
16 17
obj-$(CONFIG_FW_LOADER)	+= firmware_class.o
obj-$(CONFIG_NUMA)	+= node.o
18
obj-$(CONFIG_MEMORY_HOTPLUG_SPARSE) += memory.o
19
ifeq ($(CONFIG_SYSFS),y)
20
obj-$(CONFIG_MODULES)	+= module.o
21
endif
22
obj-$(CONFIG_SYS_HYPERVISOR) += hypervisor.o
23
obj-$(CONFIG_REGMAP)	+= regmap/
24
obj-$(CONFIG_SOC_BUS) += soc.o
25
obj-$(CONFIG_PINCTRL) += pinctrl.o
26
obj-$(CONFIG_DEV_COREDUMP) += devcoredump.o
27
obj-$(CONFIG_GENERIC_MSI_IRQ_DOMAIN) += platform-msi.o
28
obj-$(CONFIG_GENERIC_ARCH_TOPOLOGY) += arch_topology.o
L
Linus Torvalds 已提交
29

30 31
obj-y			+= test/

32
ccflags-$(CONFIG_DEBUG_DRIVER) := -DDEBUG
L
Linus Torvalds 已提交
33