media: mfc: modify build option for MFC
authorJeonghee Kim <jhhhh.kim@samsung.com>
Mon, 15 Jan 2018 07:47:52 +0000 (16:47 +0900)
committerSunyoung Kang <sy0816.kang@samsung.com>
Tue, 29 May 2018 06:59:18 +0000 (15:59 +0900)
Change-Id: Ie065429e5c559cf66cf97b6db7a520a82cf1190e
Signed-off-by: Jeonghee Kim <jhhhh.kim@samsung.com>
drivers/media/platform/Kconfig
drivers/media/platform/Makefile
drivers/media/platform/exynos/Kconfig [new file with mode: 0644]
drivers/media/platform/exynos/Makefile [new file with mode: 0644]

index 054cbe75949b64f38ac33e8a4d52606a20a8becd..0db7c2030a3c76b61e9e26f26ae8327c29ed24a0 100644 (file)
@@ -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
index cf7feb69f19f1f7d026a4fab89f4d39be689237a..d5916a014fc1927050f866b15f1badc59a2f7fc2 100644 (file)
@@ -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 (file)
index 0000000..bfbc639
--- /dev/null
@@ -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 (file)
index 0000000..6fe0972
--- /dev/null
@@ -0,0 +1 @@
+obj-$(CONFIG_VIDEO_EXYNOS_MFC)         += mfc/