global: Disable xPL phases when we have enabled COMPILE_TEST
authorTom Rini <trini@konsulko.com>
Fri, 3 Oct 2025 20:39:34 +0000 (14:39 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 13 Oct 2025 20:54:32 +0000 (14:54 -0600)
Due to how we implement the logic for selecting what should/shouldn't be
built in a given phase it becomes extremely cumbersome to make these
phases link when configured by "allyesconfig". As a starting point for
being able to enable "allyesconfig" and expand our static coverage,
disable all other phases in this case.

Future work can be done to enable other phases as time and interest
permit.

Signed-off-by: Tom Rini <trini@konsulko.com>
common/spl/Kconfig

index a669c80..4ece5d1 100644 (file)
@@ -12,7 +12,7 @@ config SPL_DFU_NO_RESET
 
 config SPL
        bool "Enable SPL"
-       depends on SUPPORT_SPL
+       depends on SUPPORT_SPL && !COMPILE_TEST
        help
          If you want to build SPL as well as the normal image, say Y.
 
@@ -1629,7 +1629,7 @@ config SPL_AT91_MCK_BYPASS
 endmenu
 
 config TPL
-       depends on SUPPORT_TPL
+       depends on SUPPORT_TPL && !COMPILE_TEST
        bool "Enable TPL"
        help
          If you want to build TPL as well as the normal image and SPL, say Y.
@@ -1637,7 +1637,7 @@ config TPL
 source "common/spl/Kconfig.tpl"
 
 config VPL
-       depends on SUPPORT_SPL
+       depends on SUPPORT_SPL && !COMPILE_TEST
        bool "Enable VPL"
        help
          If you want to build VPL as well as the normal image, TPL and SPL,