From: Mark Brown broonie@linaro.org
Since there is no architecture dependency in the code allow it to be built on any platform when COMPILE_TEST is enabled.
Signed-off-by: Mark Brown broonie@linaro.org --- sound/soc/tegra/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/tegra/Kconfig b/sound/soc/tegra/Kconfig index 995b120..cd168a7 100644 --- a/sound/soc/tegra/Kconfig +++ b/sound/soc/tegra/Kconfig @@ -1,6 +1,6 @@ config SND_SOC_TEGRA tristate "SoC Audio for the Tegra System-on-Chip" - depends on ARCH_TEGRA && TEGRA20_APB_DMA + depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST select REGMAP_MMIO select SND_SOC_GENERIC_DMAENGINE_PCM if TEGRA20_APB_DMA help
On 07/15/2013 10:10 AM, Mark Brown wrote:
From: Mark Brown broonie@linaro.org
Since there is no architecture dependency in the code allow it to be built on any platform when COMPILE_TEST is enabled.
Acked-by: Stephen Warren swarren@nvidia.com
I was wondering about removing most of the depends from various Tegra drivers including ASoC, and replacing it with e.g.:
default ARCH_TEGRA
That would also allow randconfig etc. to enable them, while still providing a reasonably sane end-user Kconfig experience. Does that sound like a good idea?
On Mon, Jul 15, 2013 at 10:13:43AM -0600, Stephen Warren wrote:
I was wondering about removing most of the depends from various Tegra drivers including ASoC, and replacing it with e.g.:
default ARCH_TEGRA
That would also allow randconfig etc. to enable them, while still providing a reasonably sane end-user Kconfig experience. Does that sound like a good idea?
That's the case COMPILE_TEST is there for - it'd probably be better to provide the same interface. The thinking is that the dependencies are partly there to help people like distro maintainers building generic kernels so something that provides the option to build a driver might still cause them to waste resource on doing that even if it's not on by default.
linaro-kernel@lists.linaro.org