xref: /linux/drivers/dma-buf/Makefile (revision 5248eb12fea890a03b4cdc3ef546d6319d4d9b73)
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 \
352791eeeSChristian König	 dma-resv.o seqno-fence.o
4c02a81fbSAndrew F. Davisobj-$(CONFIG_DMABUF_HEAPS)	+= dma-heap.o
5*5248eb12SJohn 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
99536b64aSChris Wilson
102989f645SChris Wilsondmabuf_selftests-y := \
112989f645SChris Wilson	selftest.o \
122989f645SChris Wilson	st-dma-fence.o
132989f645SChris Wilson
149536b64aSChris Wilsonobj-$(CONFIG_DMABUF_SELFTESTS)	+= dmabuf_selftests.o
15