diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2014-02-17 19:09:03 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-02-19 11:30:26 +0100 |
commit | e9241844a8103b62775040cdb35c09002e904fb5 (patch) | |
tree | c79f5d7a93e8d88b9d98c947147048fda3a69bce /common/startup.c | |
parent | 925e5b4b94ed498be87322f7164d2f34373433b6 (diff) | |
download | barebox-e9241844a8103b62775040cdb35c09002e904fb5.tar.gz barebox-e9241844a8103b62775040cdb35c09002e904fb5.tar.xz |
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 <s.hauer@pengutronix.de>
Diffstat (limited to 'common/startup.c')
-rw-r--r-- | common/startup.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |