Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm
[platform/kernel/linux-rpi.git] / drivers / dma-buf / Makefile
1 # SPDX-License-Identifier: GPL-2.0-only
2 obj-y := dma-buf.o dma-fence.o dma-fence-array.o dma-fence-chain.o \
3          dma-fence-unwrap.o dma-resv.o
4 obj-$(CONFIG_DMABUF_HEAPS)      += dma-heap.o
5 obj-$(CONFIG_DMABUF_HEAPS)      += heaps/
6 obj-$(CONFIG_SYNC_FILE)         += sync_file.o
7 obj-$(CONFIG_SW_SYNC)           += sw_sync.o sync_debug.o
8 obj-$(CONFIG_UDMABUF)           += udmabuf.o
9 obj-$(CONFIG_DMABUF_SYSFS_STATS) += dma-buf-sysfs-stats.o
10
11 dmabuf_selftests-y := \
12         selftest.o \
13         st-dma-fence.o \
14         st-dma-fence-chain.o \
15         st-dma-fence-unwrap.o \
16         st-dma-resv.o
17
18 obj-$(CONFIG_DMABUF_SELFTESTS)  += dmabuf_selftests.o