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

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

ifeq ($(CONFIG_DEBUG_DRIVER),y)
EXTRA_CFLAGS += -DDEBUG
endif