[PATCH] global: Disable xPL phases when we have enabled COMPILE_TEST

Tom Rini trini at konsulko.com
Fri Oct 3 22:39:34 CEST 2025


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 at konsulko.com>
---
 common/spl/Kconfig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 458dce01700a..debc59b1d713 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -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.
 
@@ -1630,7 +1630,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.
@@ -1638,7 +1638,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,
-- 
2.43.0



More information about the U-Boot mailing list