mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-14 22:12:14 +01:00
Architectures that don't support DMA can say so by adding a config NO_DMA to their Kconfig file. This will prevent compilation of some dma specific driver code. Also dma-mapping-broken.h isn't needed anymore on at least s390. This avoids compilation and linking of otherwise dead/broken code. Other architectures that include dma-mapping-broken.h are arm26, h8300, m68k, m68knommu and v850. If these could be converted as well we could get rid of the header file. Signed-off-by: Heiko Carstens <[email protected]> "John W. Linville" <[email protected]> Cc: Kyle McMartin <[email protected]> Cc: <[email protected]> Cc: Tejun Heo <[email protected]> Cc: Jeff Garzik <[email protected]> Cc: Martin Schwidefsky <[email protected]> Cc: <[email protected]> Cc: <[email protected]> Cc: <[email protected]> Cc: <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
20 lines
560 B
Makefile
20 lines
560 B
Makefile
# Makefile for the Linux device tree
|
|
|
|
obj-y := core.o sys.o bus.o dd.o \
|
|
driver.o class.o platform.o \
|
|
cpu.o firmware.o init.o map.o devres.o \
|
|
attribute_container.o transport_class.o
|
|
obj-y += power/
|
|
obj-$(CONFIG_HAS_DMA) += dma-mapping.o dmapool.o
|
|
obj-$(CONFIG_ISA) += isa.o
|
|
obj-$(CONFIG_FW_LOADER) += firmware_class.o
|
|
obj-$(CONFIG_NUMA) += node.o
|
|
obj-$(CONFIG_MEMORY_HOTPLUG_SPARSE) += memory.o
|
|
obj-$(CONFIG_SMP) += topology.o
|
|
obj-$(CONFIG_SYS_HYPERVISOR) += hypervisor.o
|
|
|
|
ifeq ($(CONFIG_DEBUG_DRIVER),y)
|
|
EXTRA_CFLAGS += -DDEBUG
|
|
endif
|
|
|