drivers/dma-buf/Makefile

Source file repositories/reference/linux-study-clean/drivers/dma-buf/Makefile

File Facts

System
Linux kernel
Corpus path
drivers/dma-buf/Makefile
Extension
[no extension]
Size
516 bytes
Lines
17
Domain
Driver Families
Bucket
drivers/dma-buf
Inferred role
Driver Families: build/configuration rule
Status
atlas-only

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: GPL-2.0-only
obj-y := dma-buf.o dma-fence.o dma-fence-array.o dma-fence-chain.o \
	 dma-fence-unwrap.o dma-resv.o dma-buf-mapping.o
obj-$(CONFIG_DMABUF_HEAPS)	+= dma-heap.o
obj-$(CONFIG_DMABUF_HEAPS)	+= heaps/
obj-$(CONFIG_SYNC_FILE)		+= sync_file.o
obj-$(CONFIG_SW_SYNC)		+= sw_sync.o sync_debug.o
obj-$(CONFIG_UDMABUF)		+= udmabuf.o

dmabuf_kunit-y := \
	st-dma-fence.o \
	st-dma-fence-chain.o \
	st-dma-fence-unwrap.o \
	st-dma-resv.o

obj-$(CONFIG_DMABUF_KUNIT_TEST) += dmabuf_kunit.o

Annotation

Implementation Notes