diff options
author | Christoph Hellwig <hch@lst.de> | 2018-06-14 08:49:34 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-06-14 08:49:34 +0200 |
commit | e37460c1ca08cf9d3b82eb3b6f205888d8d01182 (patch) | |
tree | e0b37d6991beb60ff7a9abd7814595b1b2fa8105 /lib | |
parent | Merge tag 'kbuild-v4.18-2' of git://git.kernel.org/pub/scm/linux/kernel/git/m... (diff) | |
download | linux-e37460c1ca08cf9d3b82eb3b6f205888d8d01182.tar.xz linux-e37460c1ca08cf9d3b82eb3b6f205888d8d01182.zip |
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>
Diffstat (limited to 'lib')
-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 \ lib-$(CONFIG_PRINTK) += dump_stack.o lib-$(CONFIG_MMU) += ioremap.o lib-$(CONFIG_SMP) += cpumask.o -lib-$(CONFIG_DMA_DIRECT_OPS) += dma-direct.o -lib-$(CONFIG_DMA_NONCOHERENT_OPS) += dma-noncoherent.o -lib-$(CONFIG_DMA_VIRT_OPS) += dma-virt.o +obj-$(CONFIG_DMA_DIRECT_OPS) += dma-direct.o +obj-$(CONFIG_DMA_NONCOHERENT_OPS) += dma-noncoherent.o +obj-$(CONFIG_DMA_VIRT_OPS) += dma-virt.o lib-y += kobject.o klist.o obj-y += lockref.o |