Makefile 975 Bytes
Newer Older
Linus Torvalds's avatar
Linus Torvalds committed
1
2
# Makefile for the Linux device tree

3
obj-y			:= component.o core.o bus.o dd.o syscore.o \
4
			   driver.o class.o platform.o \
Heiko Carstens's avatar
Heiko Carstens committed
5
			   cpu.o firmware.o init.o map.o devres.o \
6
			   attribute_container.o transport_class.o \
7
			   topology.o container.o property.o cacheinfo.o
8
obj-$(CONFIG_DEVTMPFS)	+= devtmpfs.o
9
obj-$(CONFIG_DMA_CMA) += dma-contiguous.o
Linus Torvalds's avatar
Linus Torvalds committed
10
obj-y			+= power/
11
obj-$(CONFIG_HAS_DMA)	+= dma-mapping.o
12
obj-$(CONFIG_HAVE_GENERIC_DMA_COHERENT) += dma-coherent.o
13
obj-$(CONFIG_ISA_BUS_API)	+= isa.o
Linus Torvalds's avatar
Linus Torvalds committed
14
15
obj-$(CONFIG_FW_LOADER)	+= firmware_class.o
obj-$(CONFIG_NUMA)	+= node.o
16
obj-$(CONFIG_MEMORY_HOTPLUG_SPARSE) += memory.o
17
ifeq ($(CONFIG_SYSFS),y)
18
obj-$(CONFIG_MODULES)	+= module.o
19
endif
20
obj-$(CONFIG_SYS_HYPERVISOR) += hypervisor.o
21
obj-$(CONFIG_REGMAP)	+= regmap/
22
obj-$(CONFIG_SOC_BUS) += soc.o
23
obj-$(CONFIG_PINCTRL) += pinctrl.o
24
obj-$(CONFIG_DEV_COREDUMP) += devcoredump.o
25
obj-$(CONFIG_GENERIC_MSI_IRQ_DOMAIN) += platform-msi.o
Linus Torvalds's avatar
Linus Torvalds committed
26

27
ccflags-$(CONFIG_DEBUG_DRIVER) := -DDEBUG
Linus Torvalds's avatar
Linus Torvalds committed
28