diff options
author | Christoph Hellwig <hch@lst.de> | 2018-06-14 02:49:34 -0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-06-14 02:49:34 -0400 |
commit | e37460c1ca08cf9d3b82eb3b6f205888d8d01182 (patch) | |
tree | e0b37d6991beb60ff7a9abd7814595b1b2fa8105 | |
parent | be779f03d563981c65cc7417cc5e0dbbc5b89d30 (diff) |
dma-mapping: use obj-y instead of lib-y for generic dma ops
We already have exact config symbols to select the direct, non-coherent,
or virt dma ops. So use the normal obj- scheme to select them.
Signed-off-by: Christoph Hellwig <hch@lst.de>
-rw-r--r-- | lib/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Makefile b/lib/Makefile index 956b320292fe..5e0e160c9242 100644 --- a/lib/Makefile +++ b/lib/Makefile | |||
@@ -29,9 +29,9 @@ lib-y := ctype.o string.o vsprintf.o cmdline.o \ | |||
29 | lib-$(CONFIG_PRINTK) += dump_stack.o | 29 | lib-$(CONFIG_PRINTK) += dump_stack.o |
30 | lib-$(CONFIG_MMU) += ioremap.o | 30 | lib-$(CONFIG_MMU) += ioremap.o |
31 | lib-$(CONFIG_SMP) += cpumask.o | 31 | lib-$(CONFIG_SMP) += cpumask.o |
32 | lib-$(CONFIG_DMA_DIRECT_OPS) += dma-direct.o | 32 | obj-$(CONFIG_DMA_DIRECT_OPS) += dma-direct.o |
33 | lib-$(CONFIG_DMA_NONCOHERENT_OPS) += dma-noncoherent.o | 33 | obj-$(CONFIG_DMA_NONCOHERENT_OPS) += dma-noncoherent.o |
34 | lib-$(CONFIG_DMA_VIRT_OPS) += dma-virt.o | 34 | obj-$(CONFIG_DMA_VIRT_OPS) += dma-virt.o |
35 | 35 | ||
36 | lib-y += kobject.o klist.o | 36 | lib-y += kobject.o klist.o |
37 | obj-y += lockref.o | 37 | obj-y += lockref.o |