Merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
[wrt350n-kernel.git] / drivers / base / Makefile
blobc66637392bbc71756731941a50253240d0da3b9a
1 # Makefile for the Linux device tree
3 obj-y := core.o sys.o bus.o dd.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-y += power/
8 obj-$(CONFIG_HAS_DMA) += dma-mapping.o
9 obj-$(CONFIG_ISA) += isa.o
10 obj-$(CONFIG_FW_LOADER) += firmware_class.o
11 obj-$(CONFIG_NUMA) += node.o
12 obj-$(CONFIG_MEMORY_HOTPLUG_SPARSE) += memory.o
13 obj-$(CONFIG_SMP) += topology.o
14 ifeq ($(CONFIG_SYSFS),y)
15 obj-$(CONFIG_MODULES) += module.o
16 endif
17 obj-$(CONFIG_SYS_HYPERVISOR) += hypervisor.o
19 ifeq ($(CONFIG_DEBUG_DRIVER),y)
20 EXTRA_CFLAGS += -DDEBUG
21 endif