summaryrefslogtreecommitdiff
path: root/env
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-07-04 15:46:06 -0600
committerTom Rini <[email protected]>2025-07-11 11:33:25 -0600
commit7adb9b03a6447a80925c6eb02fedb6b022ef6e14 (patch)
tree4b7ae83e47e5722c8fdc6af02e64fe6538141eff /env
parent011079c375d029f47e91d57f84927f392ffd2d61 (diff)
Kconfig: Test for !COMPILE_TEST in some locations
We have a few options that we cannot enable in a "allyesconfig" type build because we cannot use zero as a default value. - The logic around HAS_BOARD_SIZE_LIMIT assumes that if we have set this then we compare with it. Similarly, we need to set SPL_NO_BSS_LIMIT as the default there. - Both SYS_CUSTOM_LDSCRIPT and ENV_USE_DEFAULT_ENV_TEXT_FILE then prompt for a file name to use. - The SYS_I2C_SOFT driver is a legacy driver which requires a lot of configuration within the board config. file instead, so disable it. Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'env')
-rw-r--r--env/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/env/Kconfig b/env/Kconfig
index c30785de48b..c667e8f2da1 100644
--- a/env/Kconfig
+++ b/env/Kconfig
@@ -759,6 +759,7 @@ config SCSI_ENV_PART_UUID
config ENV_USE_DEFAULT_ENV_TEXT_FILE
bool "Create default environment from file"
+ depends on !COMPILE_TEST
help
Normally, the default environment is automatically generated
based on the settings of various CONFIG_* options, as well