xref: /linux/drivers/dma-buf/Makefile (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
27bf60c52SChristian Königobj-y := dma-buf.o dma-fence.o dma-fence-array.o dma-fence-chain.o \
3*01357a5aSChristian König	 dma-fence-unwrap.o dma-resv.o
4c02a81fbSAndrew F. Davisobj-$(CONFIG_DMABUF_HEAPS)	+= dma-heap.o
55248eb12SJohn Stultzobj-$(CONFIG_DMABUF_HEAPS)	+= heaps/
662304fb1SGustavo Padovanobj-$(CONFIG_SYNC_FILE)		+= sync_file.o
735538d78SGustavo Padovanobj-$(CONFIG_SW_SYNC)		+= sw_sync.o sync_debug.o
8fbb0de79SGerd Hoffmannobj-$(CONFIG_UDMABUF)		+= udmabuf.o
9bdb8d06dSHridya Valsarajuobj-$(CONFIG_DMABUF_SYSFS_STATS) += dma-buf-sysfs-stats.o
109536b64aSChris Wilson
112989f645SChris Wilsondmabuf_selftests-y := \
122989f645SChris Wilson	selftest.o \
13dc2f7e67SChris Wilson	st-dma-fence.o \
141d51775cSChristian König	st-dma-fence-chain.o \
1564a8f92fSChristian König	st-dma-fence-unwrap.o \
161d51775cSChristian König	st-dma-resv.o
172989f645SChris Wilson
189536b64aSChris Wilsonobj-$(CONFIG_DMABUF_SELFTESTS)	+= dmabuf_selftests.o
19