ASoC: imx: Enable COMPILE_TEST builds
Mark Brown
maintainerPATCH 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
@@ -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
Quoted 5 lines · Mark Brown
From: Mark Brown <[email protected]>
Since DT based boards don't have any dependency on
arch/armenable them ifCOMPILE_TESTis 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
Signed-off-by Mark Brown <[email protected]>--- sound/soc/fsl/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)sound/soc/fsl/Kconfig +1
-1@@ -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
Mark Brown
maintainerQuoted 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/armenable them ifCOMPILE_TESTis enabled.I do not quite follow the commit log. I think menuconfig
SND_IMX_SOCalso 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_TESTshould 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.
Quoted 6 lines · Mark Brown
From: Mark Brown <[email protected]>
Since DT based boards don't have any dependency on
arch/armenable them ifCOMPILE_TESTis enabled.Signed-off-by Mark Brown <[email protected]>