Makefile 594 字节
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/
H
Heiko Carstens 已提交
8
obj-$(CONFIG_HAS_DMA)	+= dma-mapping.o dmapool.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_MODULES)	+= module.o
15
obj-$(CONFIG_SYS_HYPERVISOR) += hypervisor.o
L
Linus Torvalds 已提交
16 17 18 19 20

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