]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
soc: versatile: enable compile testing
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 25 Aug 2024 18:05:25 +0000 (20:05 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 30 Aug 2024 13:40:11 +0000 (15:40 +0200)
Enable compile testing for broader build coverage.  None of the drivers
use anything from "asm", so code should build everywhere.
CONFIG_PLAT_VERSATILE is being selected by driver dependencies
(CONFIG_ARCH_INTEGRATOR and CONFIG_ARCH_REALVIEW), so directory can be
always added to Makefile targets without impacting other configurations.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/20240825-soc-dev-fixes-v1-4-ff4b35abed83@linaro.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/soc/Makefile
drivers/soc/versatile/Kconfig

index fb2bd31387d070387fcf8a579f618dc2b25bdc69..56f476a12847f8a6c738840908a23759ffb05040 100644 (file)
@@ -32,5 +32,5 @@ obj-y                         += sunxi/
 obj-$(CONFIG_ARCH_TEGRA)       += tegra/
 obj-y                          += ti/
 obj-$(CONFIG_ARCH_U8500)       += ux500/
-obj-$(CONFIG_PLAT_VERSATILE)   += versatile/
+obj-y                          += versatile/
 obj-y                          += xilinx/
index c3792c0a84acded9eb54b9978318a2472cd1265e..7bbf54a8d879e3a48010cd60eeb11d6abe3885d7 100644 (file)
@@ -4,7 +4,7 @@
 #
 config SOC_INTEGRATOR_CM
        bool "SoC bus device for the ARM Integrator platform core modules"
-       depends on ARCH_INTEGRATOR
+       depends on ARCH_INTEGRATOR || COMPILE_TEST
        select SOC_BUS
        help
          Include support for the SoC bus on the ARM Integrator platform
@@ -13,7 +13,7 @@ config SOC_INTEGRATOR_CM
 
 config SOC_REALVIEW
        bool "SoC bus device for the ARM RealView platforms"
-       depends on ARCH_REALVIEW
+       depends on ARCH_REALVIEW || COMPILE_TEST
        select SOC_BUS
        help
          Include support for the SoC bus on the ARM RealView platforms