summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/mediatek/mtk-mdp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/platform/mediatek/mtk-mdp/Makefile')
-rw-r--r--drivers/media/platform/mediatek/mtk-mdp/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/media/platform/mediatek/mtk-mdp/Makefile b/drivers/media/platform/mediatek/mtk-mdp/Makefile
new file mode 100644
index 000000000000..5982d65c9971
--- /dev/null
+++ b/drivers/media/platform/mediatek/mtk-mdp/Makefile
@@ -0,0 +1,10 @@
+# SPDX-License-Identifier: GPL-2.0
+mtk-mdp-y += mtk_mdp_core.o
+mtk-mdp-y += mtk_mdp_comp.o
+mtk-mdp-y += mtk_mdp_m2m.o
+mtk-mdp-y += mtk_mdp_regs.o
+mtk-mdp-y += mtk_mdp_vpu.o
+
+obj-$(CONFIG_VIDEO_MEDIATEK_MDP) += mtk-mdp.o
+
+ccflags-y += -I$(srctree)/drivers/media/platform/mtk-vpu