[PATCH] common: Select CRC32 dependency for DEFAULT_ENVIRONMENT

Jules Maselbas jmaselbas at kalray.eu
Tue Sep 7 05:45:20 PDT 2021


The DEFAULT_ENVIRONMENT config enable the compilation of envfs-core.c
which depends on CRC32.

Signed-off-by: Jules Maselbas <jmaselbas at kalray.eu>
---
 common/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/Kconfig b/common/Kconfig
index a9feae2ae8..c19c693580 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -842,6 +842,7 @@ config ENV_HANDLING
 	  startup) will bring them back. If unsure, say yes.
 
 config DEFAULT_ENVIRONMENT
+	select CRC32
 	bool
 	default y if ENV_HANDLING
 	prompt "Compile in default environment"
-- 
2.17.1




More information about the barebox mailing list