]> git.baikalelectronics.ru Git - kernel.git/commit
media: Kconfig: fix selection for test drivers
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 26 Mar 2020 14:47:25 +0000 (15:47 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 14 Apr 2020 08:29:05 +0000 (10:29 +0200)
commit268532d8f324ab37a17f9d8288d7240875d601f0
treee7408e8df61f52f1181dd83cb45fa05480199e7a
parent137bd5276241a3fafed1ce2e8c4e31d841883d2e
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>
drivers/media/Kconfig
drivers/media/dvb-frontends/Kconfig
drivers/media/pci/Kconfig
drivers/media/test_drivers/Kconfig