blob: 0e4d3dadd6b15ae12ec8597e339e1660d580c9b5 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001# Makefile for the Linux device tree
2
3obj-y := core.o bus.o dd.o syscore.o \
4 driver.o class.o platform.o \
5 cpu.o firmware.o init.o map.o devres.o \
6 attribute_container.o transport_class.o \
7 topology.o
8obj-$(CONFIG_DEVTMPFS) += devtmpfs.o
9obj-y += power/
10obj-$(CONFIG_HAS_DMA) += dma-mapping.o
11obj-$(CONFIG_HAVE_GENERIC_DMA_COHERENT) += dma-coherent.o
12obj-$(CONFIG_DMA_SHARED_BUFFER) += dma-buf.o
13obj-$(CONFIG_ISA) += isa.o
14obj-$(CONFIG_FW_LOADER) += firmware_class.o
15obj-$(CONFIG_NUMA) += node.o
16obj-$(CONFIG_MEMORY_HOTPLUG_SPARSE) += memory.o
17ifeq ($(CONFIG_SYSFS),y)
18obj-$(CONFIG_MODULES) += module.o
19endif
20obj-$(CONFIG_SYS_HYPERVISOR) += hypervisor.o
21obj-$(CONFIG_REGMAP) += regmap/
22obj-$(CONFIG_SOC_BUS) += soc.o
23
24obj-$(CONFIG_SYNC) += sync.o
25obj-$(CONFIG_SW_SYNC) += sw_sync.o
26
27ccflags-$(CONFIG_DEBUG_DRIVER) := -DDEBUG
28