blob: 2609ba20b39622b1268323cd360171a3e545cbc1 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001# Makefile for the Linux device tree
2
Russell King2a41e602014-01-10 23:23:37 +00003obj-y := component.o 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 \
Linus Torvaldse6b5be22014-12-14 16:10:09 -08007 topology.o container.o property.o cacheinfo.o
Kay Sievers2b2af542009-04-30 15:23:42 +02008obj-$(CONFIG_DEVTMPFS) += devtmpfs.o
Aneesh Kumar K.Vf825c732013-07-02 11:15:15 +05309obj-$(CONFIG_DMA_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
William Breathitt Gray3a495512016-05-27 18:08:27 -040013obj-$(CONFIG_ISA_BUS_API) += isa.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070014obj-$(CONFIG_FW_LOADER) += firmware_class.o
15obj-$(CONFIG_NUMA) += node.o
Keith Mannthey53947022006-09-30 23:27:08 -070016obj-$(CONFIG_MEMORY_HOTPLUG_SPARSE) += memory.o
Randy Dunlap92b42142007-12-31 10:05:43 -080017ifeq ($(CONFIG_SYSFS),y)
Greg Kroah-Hartmanc63469a2007-11-28 12:23:18 -080018obj-$(CONFIG_MODULES) += module.o
Randy Dunlap92b42142007-12-31 10:05:43 -080019endif
Michael Holzheu40394832006-05-09 12:53:49 +020020obj-$(CONFIG_SYS_HYPERVISOR) += hypervisor.o
Mark Brownb83a3132011-05-11 19:59:58 +020021obj-$(CONFIG_REGMAP) += regmap/
Lee Jones74d1d822012-02-06 11:22:22 -080022obj-$(CONFIG_SOC_BUS) += soc.o
Linus Walleijab780292013-01-22 10:56:14 -070023obj-$(CONFIG_PINCTRL) += pinctrl.o
Johannes Berg833c9542014-09-12 09:01:56 +020024obj-$(CONFIG_DEV_COREDUMP) += devcoredump.o
Marc Zyngierc09fcc4b2015-07-28 14:46:16 +010025obj-$(CONFIG_GENERIC_MSI_IRQ_DOMAIN) += platform-msi.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070026
matt mooney7a868082010-09-24 12:17:11 -070027ccflags-$(CONFIG_DEBUG_DRIVER) := -DDEBUG
Linus Torvalds1da177e2005-04-16 15:20:36 -070028