Makefile 650 字节
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
R
Rene Herman 已提交
9
obj-$(CONFIG_ISA)	+= isa.o
L
Linus Torvalds 已提交
10 11
obj-$(CONFIG_FW_LOADER)	+= firmware_class.o
obj-$(CONFIG_NUMA)	+= node.o
12
obj-$(CONFIG_MEMORY_HOTPLUG_SPARSE) += memory.o
13
obj-$(CONFIG_SMP)	+= topology.o
14
obj-$(CONFIG_IOMMU_API) += iommu.o
15
ifeq ($(CONFIG_SYSFS),y)
16
obj-$(CONFIG_MODULES)	+= module.o
17
endif
18
obj-$(CONFIG_SYS_HYPERVISOR) += hypervisor.o
L
Linus Torvalds 已提交
19 20 21 22 23

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