blob: b5b8ba512b282028afd61dbf32892ba4018e862d [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001# Makefile for the Linux device tree
2
mochel@digitalimplant.org07e4a3e2005-03-21 10:52:54 -08003obj-y := core.o sys.o bus.o dd.o \
gregkh@suse.decd987d32005-03-23 11:12:38 -08004 driver.o class.o platform.o \
Heiko Carstens411f0f32007-05-06 14:49:09 -07005 cpu.o firmware.o init.o map.o devres.o \
Linus Torvalds1da177e2005-04-16 15:20:36 -07006 attribute_container.o transport_class.o
7obj-y += power/
Matthew Wilcox141e9d42007-12-03 11:57:48 -05008obj-$(CONFIG_HAS_DMA) += dma-mapping.o
Rene Hermana5117ba72006-06-06 23:54:02 +02009obj-$(CONFIG_ISA) += isa.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070010obj-$(CONFIG_FW_LOADER) += firmware_class.o
11obj-$(CONFIG_NUMA) += node.o
Keith Mannthey53947022006-09-30 23:27:08 -070012obj-$(CONFIG_MEMORY_HOTPLUG_SPARSE) += memory.o
Zhang, Yanmin69dcc992006-02-03 03:04:36 -080013obj-$(CONFIG_SMP) += topology.o
Joerg Roedel1aaf1182008-11-26 17:25:13 +010014obj-$(CONFIG_IOMMU_API) += iommu.o
Randy Dunlap92b42142007-12-31 10:05:43 -080015ifeq ($(CONFIG_SYSFS),y)
Greg Kroah-Hartmanc63469a2007-11-28 12:23:18 -080016obj-$(CONFIG_MODULES) += module.o
Randy Dunlap92b42142007-12-31 10:05:43 -080017endif
Michael Holzheu40394832006-05-09 12:53:49 +020018obj-$(CONFIG_SYS_HYPERVISOR) += hypervisor.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070019
20ifeq ($(CONFIG_DEBUG_DRIVER),y)
21EXTRA_CFLAGS += -DDEBUG
22endif
23