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>
This commit is contained in:
Michael Walle 2020-05-22 14:07:35 +02:00 committed by Tom Rini
parent 3ec46991d7
commit 56c311bd82

View File

@ -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.