summaryrefslogtreecommitdiff
path: root/cmd/Kconfig
diff options
context:
space:
mode:
authorMichael Walle <michael@walle.cc>2020-05-22 15:07:35 +0300
committerTom Rini <trini@konsulko.com>2020-05-25 18:54:53 +0300
commit56c311bd82b5521be2f0babdab2e2dab43394401 (patch)
tree805465c4a359e8501e327b58f8711ba56a1c9b9f /cmd/Kconfig
parent3ec46991d71aa4772aeeafbce116c56ad8670fba (diff)
downloadu-boot-56c311bd82b5521be2f0babdab2e2dab43394401.tar.xz
cmd: unzip: automatically select CONFIG_GZIP
unzip calls gzwrite() which is provided in lib/gunzip.c. Make sure it is automatically pulled in if the user selects CMD_UNZIP. Signed-off-by: Michael Walle <michael@walle.cc> Reviewed-by: Heinrich Schuchardt <xypron.glkp@gmx.de>
Diffstat (limited to 'cmd/Kconfig')
-rw-r--r--cmd/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index f9be1988f6..f4eb575b6e 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -810,6 +810,7 @@ config CMD_UNLZ4
config CMD_UNZIP
bool "unzip"
default y if CMD_BOOTI
+ select GZIP
help
Uncompress a zip-compressed memory region.