Makefile 845 字节
Newer Older
L
Linus Torvalds 已提交
1 2
# Makefile for the Linux device tree

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

25
ccflags-$(CONFIG_DEBUG_DRIVER) := -DDEBUG
L
Linus Torvalds 已提交
26