driver core: remove drivers/base/sys.c and include/linux/sysdev.h
[zen-stable.git] / drivers / base / Makefile
blob610f9997a4039c6df17d33d1931624c410120053
1 # Makefile for the Linux device tree
3 obj-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
8 obj-$(CONFIG_DEVTMPFS) += devtmpfs.o
9 obj-y += power/
10 obj-$(CONFIG_HAS_DMA) += dma-mapping.o
11 obj-$(CONFIG_HAVE_GENERIC_DMA_COHERENT) += dma-coherent.o
12 obj-$(CONFIG_DMA_SHARED_BUFFER) += dma-buf.o
13 obj-$(CONFIG_ISA) += isa.o
14 obj-$(CONFIG_FW_LOADER) += firmware_class.o
15 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/
23 ccflags-$(CONFIG_DEBUG_DRIVER) := -DDEBUG