lkml.org 
[lkml]   [2020]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 7/8] media: Kconfig: add an option to filter in/out the embedded drivers
Date
Most systems don't need support for those, while others only
need those, instead of the others.

So, add an option to filter in/out the SoC specific drivers.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
---
drivers/media/Kconfig | 12 ++++++++++++
1 file changed, 12 insertions(+)

diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig
index e266d1afa912..a57e2198b2db 100644
--- a/drivers/media/Kconfig
+++ b/drivers/media/Kconfig
@@ -88,6 +88,14 @@ config MEDIA_CEC_SUPPORT
Say Y when you have an HDMI receiver, transmitter or a USB CEC
adapter that supports HDMI CEC.

+config MEDIA_EMBEDDED_SUPPORT
+ bool "Embedded devices (SoC)"
+ help
+ Enable support for complex cameras, codecs, and other hardware
+ found on Embedded hardware (SoC).
+
+ Say Y when you have a software defined radio device.
+
endmenu # media support types

if MEDIA_SUPPORT
@@ -177,9 +185,13 @@ source "drivers/media/radio/Kconfig"

# Common driver options
source "drivers/media/common/Kconfig"
+
+if MEDIA_EMBEDDED_SUPPORT
+
source "drivers/media/platform/Kconfig"
source "drivers/media/mmc/Kconfig"

+endif # MEDIA_EMBEDDED_SUPPORT

comment "FireWire (IEEE 1394) Adapters"
depends on DVB_CORE && FIREWIRE
--
2.24.1
\
 
 \ /
  Last update: 2020-03-24 11:17    [W:0.055 / U:0.292 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site