From e9241844a8103b62775040cdb35c09002e904fb5 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Mon, 17 Feb 2014 19:09:03 +0100 Subject: Kconfig: Select default compression type Instead of asking explicitly for the default environment compression type ask for the in-barebox default compression type. This also adds a DEFAULT_COMPRESSION_SUFFIX make variable which can be used together with the wildcard rules for compressed files to generate compressed files without explicitly support each compression type. Signed-off-by: Sascha Hauer --- common/startup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/startup.c') diff --git a/common/startup.c b/common/startup.c index e8b9ea0216..4bc5628f4a 100644 --- a/common/startup.c +++ b/common/startup.c @@ -52,7 +52,7 @@ static int register_default_env(void) int ret; void *defaultenv; - if (IS_ENABLED(CONFIG_DEFAULT_ENVIRONMENT_COMPRESSED)) { + if (!IS_ENABLED(CONFIG_DEFAULT_COMPRESSION_NONE)) { void *tmp = malloc(default_environment_size); if (!tmp) -- cgit v1.2.3