1*2023a998SMauro Carvalho Chehab# SPDX-License-Identifier: GPL-2.0 2*2023a998SMauro Carvalho Chehab 3*2023a998SMauro Carvalho Chehabobj-$(CONFIG_VIDEO_MEDIATEK_VCODEC) += mtk-vcodec-dec.o \ 4*2023a998SMauro Carvalho Chehab mtk-vcodec-enc.o \ 5*2023a998SMauro Carvalho Chehab mtk-vcodec-common.o \ 6*2023a998SMauro Carvalho Chehab mtk-vcodec-dec-hw.o 7*2023a998SMauro Carvalho Chehab 8*2023a998SMauro Carvalho Chehabmtk-vcodec-dec-y := vdec/vdec_h264_if.o \ 9*2023a998SMauro Carvalho Chehab vdec/vdec_vp8_if.o \ 10*2023a998SMauro Carvalho Chehab vdec/vdec_vp9_if.o \ 11*2023a998SMauro Carvalho Chehab vdec/vdec_h264_req_if.o \ 12*2023a998SMauro Carvalho Chehab mtk_vcodec_dec_drv.o \ 13*2023a998SMauro Carvalho Chehab vdec_drv_if.o \ 14*2023a998SMauro Carvalho Chehab vdec_vpu_if.o \ 15*2023a998SMauro Carvalho Chehab vdec_msg_queue.o \ 16*2023a998SMauro Carvalho Chehab mtk_vcodec_dec.o \ 17*2023a998SMauro Carvalho Chehab mtk_vcodec_dec_stateful.o \ 18*2023a998SMauro Carvalho Chehab mtk_vcodec_dec_stateless.o \ 19*2023a998SMauro Carvalho Chehab mtk_vcodec_dec_pm.o \ 20*2023a998SMauro Carvalho Chehab 21*2023a998SMauro Carvalho Chehabmtk-vcodec-dec-hw-y := mtk_vcodec_dec_hw.o 22*2023a998SMauro Carvalho Chehab 23*2023a998SMauro Carvalho Chehabmtk-vcodec-enc-y := venc/venc_vp8_if.o \ 24*2023a998SMauro Carvalho Chehab venc/venc_h264_if.o \ 25*2023a998SMauro Carvalho Chehab mtk_vcodec_enc.o \ 26*2023a998SMauro Carvalho Chehab mtk_vcodec_enc_drv.o \ 27*2023a998SMauro Carvalho Chehab mtk_vcodec_enc_pm.o \ 28*2023a998SMauro Carvalho Chehab venc_drv_if.o \ 29*2023a998SMauro Carvalho Chehab venc_vpu_if.o \ 30*2023a998SMauro Carvalho Chehab 31*2023a998SMauro Carvalho Chehab 32*2023a998SMauro Carvalho Chehabmtk-vcodec-common-y := mtk_vcodec_intr.o \ 33*2023a998SMauro Carvalho Chehab mtk_vcodec_util.o \ 34*2023a998SMauro Carvalho Chehab mtk_vcodec_fw.o \ 35*2023a998SMauro Carvalho Chehab 36*2023a998SMauro Carvalho Chehabifneq ($(CONFIG_VIDEO_MEDIATEK_VCODEC_VPU),) 37*2023a998SMauro Carvalho Chehabmtk-vcodec-common-y += mtk_vcodec_fw_vpu.o 38*2023a998SMauro Carvalho Chehabendif 39*2023a998SMauro Carvalho Chehab 40*2023a998SMauro Carvalho Chehabifneq ($(CONFIG_VIDEO_MEDIATEK_VCODEC_SCP),) 41*2023a998SMauro Carvalho Chehabmtk-vcodec-common-y += mtk_vcodec_fw_scp.o 42*2023a998SMauro Carvalho Chehabendif 43