[PATCH] common: improve CONFIG_DEFAULT_COMPRESSION_* documentation
Ahmad Fatoum
ahmad at a3f.at
Sun Mar 26 23:06:52 PDT 2023
This option is only relevant to non-PBL configurations and the
description is a bit confusing, because the default environment
is the only in-barebox binary this option compressed.
Use "built-in environment" instead of "in-barebox binaries" or "default
environment" to make this clearer.
Signed-off-by: Ahmad Fatoum <ahmad at a3f.at>
---
common/Kconfig | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/common/Kconfig b/common/Kconfig
index 57fe5f7886de..d90b5fb88682 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -863,7 +863,7 @@ config DEFAULT_ENVIRONMENT
CONFIG_ENV_HANDLING is not enabled.
choice
- prompt "default compression for in-barebox binaries"
+ prompt "default compression for built-in environment"
default DEFAULT_COMPRESSION_NONE if PBL_IMAGE
default DEFAULT_COMPRESSION_LZO if LZO_DECOMPRESS
default DEFAULT_COMPRESSION_XZ if XZ_DECOMPRESS
@@ -872,9 +872,13 @@ choice
default DEFAULT_COMPRESSION_BZIP2 if BZLIB
help
For barebox builds without a prebootloader, select here the default
- compression for in-barebox binary files. barebox itself can't be
- compressed without a prebootloader, but for example the default
- environment will be compressed with this compression type.
+ compression for the built-in environment. barebox itself can't be
+ compressed without a prebootloader, but the built-in environment,
+ including any binary files placed in it (e.g. in /env/data)
+ will be compressed with this compression type.
+
+ For barebox builds _with_ a prebootloader, the environment is
+ compressed as part of barebox proper (CONFIG_IMAGE_COMPRESSION).
config DEFAULT_COMPRESSION_GZIP
bool "gzip"
--
2.38.3
More information about the barebox
mailing list