mirror of
https://github.com/torvalds/linux.git
synced 2024-12-06 19:11:31 +00:00
2f9237d4f6
Avoid the overhead of the dma ops support for tiny builds that only use the direct mapping. Signed-off-by: Christoph Hellwig <hch@lst.de> Tested-by: Alexey Kardashevskiy <aik@ozlabs.ru> Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
12 lines
401 B
Makefile
12 lines
401 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
obj-$(CONFIG_HAS_DMA) += mapping.o direct.o
|
|
obj-$(CONFIG_DMA_OPS) += dummy.o
|
|
obj-$(CONFIG_DMA_CMA) += contiguous.o
|
|
obj-$(CONFIG_DMA_DECLARE_COHERENT) += coherent.o
|
|
obj-$(CONFIG_DMA_VIRT_OPS) += virt.o
|
|
obj-$(CONFIG_DMA_API_DEBUG) += debug.o
|
|
obj-$(CONFIG_SWIOTLB) += swiotlb.o
|
|
obj-$(CONFIG_DMA_COHERENT_POOL) += pool.o
|
|
obj-$(CONFIG_DMA_REMAP) += remap.o
|