drivers/media/platform/mediatek/vcodec/common/Makefile

Source file repositories/reference/linux-study-clean/drivers/media/platform/mediatek/vcodec/common/Makefile

File Facts

System
Linux kernel
Corpus path
drivers/media/platform/mediatek/vcodec/common/Makefile
Extension
[no extension]
Size
505 bytes
Lines
21
Domain
Driver Families
Bucket
drivers/media
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

obj-$(CONFIG_VIDEO_MEDIATEK_VCODEC) += mtk-vcodec-common.o

mtk-vcodec-common-y := mtk_vcodec_intr.o \
		mtk_vcodec_util.o \
		mtk_vcodec_fw.o \

ifneq ($(CONFIG_VIDEO_MEDIATEK_VCODEC_VPU),)
mtk-vcodec-common-y += mtk_vcodec_fw_vpu.o
endif

ifneq ($(CONFIG_VIDEO_MEDIATEK_VCODEC_SCP),)
mtk-vcodec-common-y += mtk_vcodec_fw_scp.o
endif

ifneq ($(CONFIG_DEBUG_FS),)
obj-$(CONFIG_VIDEO_MEDIATEK_VCODEC) += mtk-vcodec-dbgfs.o

mtk-vcodec-dbgfs-y := mtk_vcodec_dbgfs.o
endif

Annotation

Implementation Notes