Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/upstream-linus
[linux-btrfs-devel.git] / drivers / base / Makefile
blob99a375ad2cc9694181da8b93862fa76f170ad9fe
1 # Makefile for the Linux device tree
3 obj-y := core.o sys.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 obj-$(CONFIG_DEVTMPFS) += devtmpfs.o
8 obj-y += power/
9 obj-$(CONFIG_HAS_DMA) += dma-mapping.o
10 obj-$(CONFIG_HAVE_GENERIC_DMA_COHERENT) += dma-coherent.o
11 obj-$(CONFIG_ISA) += isa.o
12 obj-$(CONFIG_FW_LOADER) += firmware_class.o
13 obj-$(CONFIG_NUMA) += node.o
14 obj-$(CONFIG_MEMORY_HOTPLUG_SPARSE) += memory.o
15 obj-$(CONFIG_SMP) += topology.o
16 ifeq ($(CONFIG_SYSFS),y)
17 obj-$(CONFIG_MODULES) += module.o
18 endif
19 obj-$(CONFIG_SYS_HYPERVISOR) += hypervisor.o
20 obj-$(CONFIG_REGMAP) += regmap/
22 ccflags-$(CONFIG_DEBUG_DRIVER) := -DDEBUG