Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | # Makefile for the Linux device tree |
| 3 | |
Russell King | 2a41e60 | 2014-01-10 23:23:37 +0000 | [diff] [blame] | 4 | obj-y := component.o core.o bus.o dd.o syscore.o \ |
gregkh@suse.de | cd987d3 | 2005-03-23 11:12:38 -0800 | [diff] [blame] | 5 | driver.o class.o platform.o \ |
Heiko Carstens | 411f0f3 | 2007-05-06 14:49:09 -0700 | [diff] [blame] | 6 | cpu.o firmware.o init.o map.o devres.o \ |
Ben Hutchings | ccbc60d | 2011-11-24 07:04:39 +0000 | [diff] [blame] | 7 | attribute_container.o transport_class.o \ |
Heikki Krogerus | f2d9b66 | 2018-03-20 15:57:02 +0300 | [diff] [blame] | 8 | topology.o container.o property.o cacheinfo.o \ |
| 9 | devcon.o |
Kay Sievers | 2b2af54 | 2009-04-30 15:23:42 +0200 | [diff] [blame] | 10 | obj-$(CONFIG_DEVTMPFS) += devtmpfs.o |
Aneesh Kumar K.V | f825c73 | 2013-07-02 11:15:15 +0530 | [diff] [blame] | 11 | obj-$(CONFIG_DMA_CMA) += dma-contiguous.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 12 | obj-y += power/ |
Matthew Wilcox | 141e9d4 | 2007-12-03 11:57:48 -0500 | [diff] [blame] | 13 | obj-$(CONFIG_HAS_DMA) += dma-mapping.o |
Ming Lei | a56af87 | 2009-07-12 21:44:55 +0800 | [diff] [blame] | 14 | obj-$(CONFIG_HAVE_GENERIC_DMA_COHERENT) += dma-coherent.o |
William Breathitt Gray | 3a49551 | 2016-05-27 18:08:27 -0400 | [diff] [blame] | 15 | obj-$(CONFIG_ISA_BUS_API) += isa.o |
Luis R. Rodriguez | 5d6d1dd | 2018-03-10 06:14:50 -0800 | [diff] [blame] | 16 | obj-y += firmware_loader/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 17 | obj-$(CONFIG_NUMA) += node.o |
Keith Mannthey | 5394702 | 2006-09-30 23:27:08 -0700 | [diff] [blame] | 18 | obj-$(CONFIG_MEMORY_HOTPLUG_SPARSE) += memory.o |
Randy Dunlap | 92b4214 | 2007-12-31 10:05:43 -0800 | [diff] [blame] | 19 | ifeq ($(CONFIG_SYSFS),y) |
Greg Kroah-Hartman | c63469a | 2007-11-28 12:23:18 -0800 | [diff] [blame] | 20 | obj-$(CONFIG_MODULES) += module.o |
Randy Dunlap | 92b4214 | 2007-12-31 10:05:43 -0800 | [diff] [blame] | 21 | endif |
Michael Holzheu | 4039483 | 2006-05-09 12:53:49 +0200 | [diff] [blame] | 22 | obj-$(CONFIG_SYS_HYPERVISOR) += hypervisor.o |
Mark Brown | b83a313 | 2011-05-11 19:59:58 +0200 | [diff] [blame] | 23 | obj-$(CONFIG_REGMAP) += regmap/ |
Lee Jones | 74d1d82 | 2012-02-06 11:22:22 -0800 | [diff] [blame] | 24 | obj-$(CONFIG_SOC_BUS) += soc.o |
Linus Walleij | ab78029 | 2013-01-22 10:56:14 -0700 | [diff] [blame] | 25 | obj-$(CONFIG_PINCTRL) += pinctrl.o |
Johannes Berg | 833c954 | 2014-09-12 09:01:56 +0200 | [diff] [blame] | 26 | obj-$(CONFIG_DEV_COREDUMP) += devcoredump.o |
Marc Zyngier | c09fcc4b | 2015-07-28 14:46:16 +0100 | [diff] [blame] | 27 | obj-$(CONFIG_GENERIC_MSI_IRQ_DOMAIN) += platform-msi.o |
Juri Lelli | 2ef7a29 | 2017-05-31 17:59:28 +0100 | [diff] [blame] | 28 | obj-$(CONFIG_GENERIC_ARCH_TOPOLOGY) += arch_topology.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 29 | |
Dmitry Torokhov | 79543cf | 2016-09-29 17:13:14 +0200 | [diff] [blame] | 30 | obj-y += test/ |
| 31 | |
matt mooney | 7a86808 | 2010-09-24 12:17:11 -0700 | [diff] [blame] | 32 | ccflags-$(CONFIG_DEBUG_DRIVER) := -DDEBUG |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 33 | |