diff options
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-03-26 15:47:25 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-04-14 10:29:05 +0200 |
commit | 6268b351394450e9168a9281a9279f7cb420669f (patch) | |
tree | e7408e8df61f52f1181dd83cb45fa05480199e7a /drivers/media/test_drivers | |
parent | a3b91d8bd1e034c8ed89d3f55243478af97a0a52 (diff) | |
download | lwn-6268b351394450e9168a9281a9279f7cb420669f.tar.gz lwn-6268b351394450e9168a9281a9279f7cb420669f.zip |
media: Kconfig: fix selection for test drivers
There are some long-time mistakes related to build test
drivers, with regards to depends on/select. Also, as we
now want to build any test driver without needing to
enable anything else, change the logic in order to properly
filter them.
Please notice that the PCI skeleton is somewhat an
exception, as it requires to select *both* SAMPLES and
MEDIA_TEST_SUPPORT. I almost changed it to be either one,
but decided to keep it as-is, as this is something that
we don't really need to be included on any distribution.
The only reason for someone to build it is for COMPILE_TEST
purposes.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/test_drivers')
-rw-r--r-- | drivers/media/test_drivers/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/test_drivers/Kconfig b/drivers/media/test_drivers/Kconfig index 258a4d36c0d3..9f4a9cfbacc9 100644 --- a/drivers/media/test_drivers/Kconfig +++ b/drivers/media/test_drivers/Kconfig @@ -4,7 +4,7 @@ if MEDIA_TEST_SUPPORT menuconfig V4L_TEST_DRIVERS bool "V4L test drivers" - depends on MEDIA_CAMERA_SUPPORT + depends on VIDEO_DEV if V4L_TEST_DRIVERS |