blob: cb4528fdc1fde64897512855dc187b761951fcb3 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001# Makefile for the Linux device tree
2
Greg Kroah-Hartmane9c688a2012-01-22 14:31:15 -07003obj-y := core.o bus.o dd.o syscore.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 \
Ben Hutchingsccbc60d2011-11-24 07:04:39 +00006 attribute_container.o transport_class.o \
Steve Mucklef132c6c2012-06-06 18:30:57 -07007 topology.o sys.o
Kay Sievers2b2af542009-04-30 15:23:42 +02008obj-$(CONFIG_DEVTMPFS) += devtmpfs.o
Marek Szyprowski55bb0332011-12-29 13:09:51 +01009obj-$(CONFIG_CMA) += dma-contiguous.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070010obj-y += power/
Matthew Wilcox141e9d42007-12-03 11:57:48 -050011obj-$(CONFIG_HAS_DMA) += dma-mapping.o
Ming Leia56af872009-07-12 21:44:55 +080012obj-$(CONFIG_HAVE_GENERIC_DMA_COHERENT) += dma-coherent.o
Sumit Semwald15bd7e2011-12-26 14:53:15 +053013obj-$(CONFIG_DMA_SHARED_BUFFER) += dma-buf.o
Jordan Crouse29f66af2011-11-17 13:39:20 -070014obj-$(CONFIG_GENLOCK) += genlock.o
Rene Hermana5117ba72006-06-06 23:54:02 +020015obj-$(CONFIG_ISA) += isa.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070016obj-$(CONFIG_FW_LOADER) += firmware_class.o
17obj-$(CONFIG_NUMA) += node.o
Keith Mannthey53947022006-09-30 23:27:08 -070018obj-$(CONFIG_MEMORY_HOTPLUG_SPARSE) += memory.o
Randy Dunlap92b42142007-12-31 10:05:43 -080019ifeq ($(CONFIG_SYSFS),y)
Greg Kroah-Hartmanc63469a2007-11-28 12:23:18 -080020obj-$(CONFIG_MODULES) += module.o
Randy Dunlap92b42142007-12-31 10:05:43 -080021endif
Michael Holzheu40394832006-05-09 12:53:49 +020022obj-$(CONFIG_SYS_HYPERVISOR) += hypervisor.o
Mark Brownb83a3132011-05-11 19:59:58 +020023obj-$(CONFIG_REGMAP) += regmap/
Lee Jones74d1d822012-02-06 11:22:22 -080024obj-$(CONFIG_SOC_BUS) += soc.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070025
Erik Gilling010accf2012-03-13 15:34:34 -070026obj-$(CONFIG_SYNC) += sync.o
Erik Gilling560b5462012-04-18 13:43:22 -070027obj-$(CONFIG_SW_SYNC) += sw_sync.o
Erik Gilling010accf2012-03-13 15:34:34 -070028
matt mooney7a868082010-09-24 12:17:11 -070029ccflags-$(CONFIG_DEBUG_DRIVER) := -DDEBUG
Linus Torvalds1da177e2005-04-16 15:20:36 -070030