cmd: unzip: automatically select CONFIG_GZIP
authorMichael Walle <michael@walle.cc>
Fri, 22 May 2020 12:07:35 +0000 (14:07 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 25 May 2020 15:54:53 +0000 (11:54 -0400)
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>
cmd/Kconfig

index f9be1988f655c22f14bc2ffccdc7eec54a256ea9..f4eb575b6e6f0e5a10f1fcd21f9bfe3e4b54ed3f 100644 (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.