global: Disable xPL phases when we have enabled COMPILE_TEST

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>
This commit is contained in:
Tom Rini 2025-10-03 14:39:34 -06:00
parent 16b0482a74
commit ee7d07f9d0

View File

@ -12,7 +12,7 @@ config SPL_DFU_NO_RESET
config SPL config SPL
bool "Enable SPL" bool "Enable SPL"
depends on SUPPORT_SPL depends on SUPPORT_SPL && !COMPILE_TEST
help help
If you want to build SPL as well as the normal image, say Y. If you want to build SPL as well as the normal image, say Y.
@ -1629,7 +1629,7 @@ config SPL_AT91_MCK_BYPASS
endmenu endmenu
config TPL config TPL
depends on SUPPORT_TPL depends on SUPPORT_TPL && !COMPILE_TEST
bool "Enable TPL" bool "Enable TPL"
help help
If you want to build TPL as well as the normal image and SPL, say Y. 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" source "common/spl/Kconfig.tpl"
config VPL config VPL
depends on SUPPORT_SPL depends on SUPPORT_SPL && !COMPILE_TEST
bool "Enable VPL" bool "Enable VPL"
help help
If you want to build VPL as well as the normal image, TPL and SPL, If you want to build VPL as well as the normal image, TPL and SPL,