Skip to contentSkip to conversation

ASoC: imx: Enable COMPILE_TEST builds

PATCH In review Mark Brown 2 participants 4 messages Jul 15, 2013 – Jul 16, 2013

Subsystems (2)
lore
Share & tools
lore

Mark Brown

author maintainer
#0 lore raw

PATCH 1/1 ASoC: imx: Enable COMPILE_TEST builds

From: Mark Brown <[email protected]>

Since DT based boards don't have any dependency on arch/arm enable them if COMPILE_TEST is enabled.

---
 sound/soc/fsl/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/fsl/Kconfig +1 -1
index aa43854..87e28bc 100644
@@ -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.
Signature · 1 line
1.8.3.2
#1 lore raw
Quoted 5 lines · Mark Brown

From: Mark Brown <[email protected]>

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

Quoted 21 lines
---
 sound/soc/fsl/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/fsl/Kconfig +1 -1
index aa43854..87e28bc 100644
@@ -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.
Signature · 1 line
1.8.3.2
author maintainer
#2 lore raw
Quoted 8 lines · Shawn Guo
Quoted 4 lines · Mark Brown

From: Mark Brown <[email protected]>

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.

Quoted 3 lines

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.