2019-05-19 20:07:45 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2019-04-01 17:50:55 +08:00
|
|
|
obj-y := dma-buf.o dma-fence.o dma-fence-array.o dma-fence-chain.o \
|
2022-04-24 22:55:14 +08:00
|
|
|
dma-fence-unwrap.o dma-resv.o
|
2019-12-04 01:26:37 +08:00
|
|
|
obj-$(CONFIG_DMABUF_HEAPS) += dma-heap.o
|
2019-12-04 01:26:38 +08:00
|
|
|
obj-$(CONFIG_DMABUF_HEAPS) += heaps/
|
2016-04-28 21:46:58 +08:00
|
|
|
obj-$(CONFIG_SYNC_FILE) += sync_file.o
|
2016-08-11 23:26:44 +08:00
|
|
|
obj-$(CONFIG_SW_SYNC) += sw_sync.o sync_debug.o
|
2018-08-27 17:34:44 +08:00
|
|
|
obj-$(CONFIG_UDMABUF) += udmabuf.o
|
2021-06-04 05:47:51 +08:00
|
|
|
obj-$(CONFIG_DMABUF_SYSFS_STATS) += dma-buf-sysfs-stats.o
|
2019-08-19 17:59:26 +08:00
|
|
|
|
2019-08-19 17:59:27 +08:00
|
|
|
dmabuf_selftests-y := \
|
|
|
|
selftest.o \
|
2020-04-09 19:01:01 +08:00
|
|
|
st-dma-fence.o \
|
2021-09-24 23:10:19 +08:00
|
|
|
st-dma-fence-chain.o \
|
2022-03-11 17:27:53 +08:00
|
|
|
st-dma-fence-unwrap.o \
|
2021-09-24 23:10:19 +08:00
|
|
|
st-dma-resv.o
|
2019-08-19 17:59:27 +08:00
|
|
|
|
2019-08-19 17:59:26 +08:00
|
|
|
obj-$(CONFIG_DMABUF_SELFTESTS) += dmabuf_selftests.o
|