[alsa-devel] [PATCH] ASoC: imx: Enable COMPILE_TEST builds
![](https://secure.gravatar.com/avatar/d930951cb00393ecf9c3db3a56d78fa9.jpg?s=120&d=mm&r=g)
From: Mark Brown broonie@linaro.org
Since DT based boards don't have any dependency on arch/arm enable them if COMPILE_TEST is enabled.
Signed-off-by: Mark Brown broonie@linaro.org --- sound/soc/fsl/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/fsl/Kconfig b/sound/soc/fsl/Kconfig index aa43854..87e28bc 100644 --- a/sound/soc/fsl/Kconfig +++ b/sound/soc/fsl/Kconfig @@ -98,7 +98,7 @@ endif # SND_POWERPC_SOC
menuconfig SND_IMX_SOC tristate "SoC Audio for Freescale i.MX CPUs" - depends on ARCH_MXC + depends on ARCH_MXC || COMPILE_TEST help Say Y or M if you want to add support for codecs attached to the i.MX CPUs.
![](https://secure.gravatar.com/avatar/69176598c5c432772372ec3559ac5982.jpg?s=120&d=mm&r=g)
On Mon, Jul 15, 2013 at 05:04:02PM +0100, Mark Brown wrote:
From: Mark Brown broonie@linaro.org
Since DT based boards don't have any dependency on arch/arm enable them if COMPILE_TEST is enabled.
I do not quite follow the commit log. I think menuconfig SND_IMX_SOC also covers a few non-DT boards.
With IMX/MXC moved over to multiplatform build, there shouldn't be any <mach/*> includes anyway. That may be the reason why COMPILE_TEST should work.
Shawn
Signed-off-by: Mark Brown broonie@linaro.org
sound/soc/fsl/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/fsl/Kconfig b/sound/soc/fsl/Kconfig index aa43854..87e28bc 100644 --- a/sound/soc/fsl/Kconfig +++ b/sound/soc/fsl/Kconfig @@ -98,7 +98,7 @@ endif # SND_POWERPC_SOC
menuconfig SND_IMX_SOC tristate "SoC Audio for Freescale i.MX CPUs"
- depends on ARCH_MXC
- depends on ARCH_MXC || COMPILE_TEST help Say Y or M if you want to add support for codecs attached to the i.MX CPUs.
-- 1.8.3.2
![](https://secure.gravatar.com/avatar/d930951cb00393ecf9c3db3a56d78fa9.jpg?s=120&d=mm&r=g)
On Tue, Jul 16, 2013 at 08:23:22AM +0800, Shawn Guo wrote:
On Mon, Jul 15, 2013 at 05:04:02PM +0100, Mark Brown wrote:
From: Mark Brown broonie@linaro.org
Since DT based boards don't have any dependency on arch/arm enable them if COMPILE_TEST is enabled.
I do not quite follow the commit log. I think menuconfig SND_IMX_SOC also covers a few non-DT boards.
It does but they all have dependencies on the boards concerned which prevent anything except the DT boards showing up.
With IMX/MXC moved over to multiplatform build, there shouldn't be any <mach/*> includes anyway. That may be the reason why COMPILE_TEST should work.
Some of them have or should have dependencies on ARCH_ARM at least for the machine type checks. But yes, I'd expect more of the machines could be built - I just didn't feel like spending the time and effort to check which, I'm more concerned with getting build coverage for the CPU side in the first instance.
![](https://secure.gravatar.com/avatar/69176598c5c432772372ec3559ac5982.jpg?s=120&d=mm&r=g)
On Mon, Jul 15, 2013 at 05:04:02PM +0100, Mark Brown wrote:
From: Mark Brown broonie@linaro.org
Since DT based boards don't have any dependency on arch/arm enable them if COMPILE_TEST is enabled.
Signed-off-by: Mark Brown broonie@linaro.org
Acked-by: Shawn Guo shawn.guo@linaro.org
participants (2)
-
Mark Brown
-
Shawn Guo