From fd6fe8d29e900f1ae7bbc66cb780dd301a9f8c82 Mon Sep 17 00:00:00 2001 From: Jeonghee Kim Date: Mon, 15 Jan 2018 16:47:52 +0900 Subject: [PATCH] media: mfc: modify build option for MFC Change-Id: Ie065429e5c559cf66cf97b6db7a520a82cf1190e Signed-off-by: Jeonghee Kim --- drivers/media/platform/Kconfig | 2 ++ drivers/media/platform/Makefile | 2 ++ drivers/media/platform/exynos/Kconfig | 20 ++++++++++++++++++++ drivers/media/platform/exynos/Makefile | 1 + 4 files changed, 25 insertions(+) create mode 100644 drivers/media/platform/exynos/Kconfig create mode 100644 drivers/media/platform/exynos/Makefile diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig index 054cbe75949b..0db7c2030a3c 100644 --- a/drivers/media/platform/Kconfig +++ b/drivers/media/platform/Kconfig @@ -33,6 +33,8 @@ source "drivers/media/platform/omap/Kconfig" source "drivers/media/platform/blackfin/Kconfig" +source "drivers/media/platform/exynos/Kconfig" + config VIDEO_SH_VOU tristate "SuperH VOU video output driver" depends on MEDIA_CAMERA_SUPPORT diff --git a/drivers/media/platform/Makefile b/drivers/media/platform/Makefile index cf7feb69f19f..d5916a014fc1 100644 --- a/drivers/media/platform/Makefile +++ b/drivers/media/platform/Makefile @@ -40,6 +40,8 @@ obj-$(CONFIG_VIDEO_SAMSUNG_S5P_G2D) += s5p-g2d/ obj-$(CONFIG_VIDEO_SAMSUNG_S5P_CEC) += s5p-cec/ obj-$(CONFIG_VIDEO_SAMSUNG_EXYNOS_GSC) += exynos-gsc/ +obj-$(CONFIG_VIDEO_EXYNOS) += exynos/ + obj-$(CONFIG_VIDEO_STI_BDISP) += sti/bdisp/ obj-$(CONFIG_VIDEO_STI_HVA) += sti/hva/ obj-$(CONFIG_DVB_C8SECTPFE) += sti/c8sectpfe/ diff --git a/drivers/media/platform/exynos/Kconfig b/drivers/media/platform/exynos/Kconfig new file mode 100644 index 000000000000..bfbc63943ede --- /dev/null +++ b/drivers/media/platform/exynos/Kconfig @@ -0,0 +1,20 @@ +# +# Exynos multimedia device drivers +# +config VIDEO_EXYNOS + bool "Exynos Multimedia Devices" + depends on ARCH_EXYNOS + default y + help + This is a representative exynos multimedia device. + +if VIDEO_EXYNOS + source "drivers/media/platform/exynos/mfc/Kconfig" +endif + +config MEDIA_EXYNOS + bool + depends on VIDEO_EXYNOS + default y + help + Compile mdev to use exynos media device driver. diff --git a/drivers/media/platform/exynos/Makefile b/drivers/media/platform/exynos/Makefile new file mode 100644 index 000000000000..6fe09720f3b7 --- /dev/null +++ b/drivers/media/platform/exynos/Makefile @@ -0,0 +1 @@ +obj-$(CONFIG_VIDEO_EXYNOS_MFC) += mfc/ -- 2.20.1