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
11 dmabuf_selftests-y := \
14 st-dma-fence-chain.o \
15 st-dma-fence-unwrap.o \
18 obj-$(CONFIG_DMABUF_SELFTESTS) += dmabuf_selftests.o