From patchwork Fri May 22 12:07:35 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Walle X-Patchwork-Id: 246252 List-Id: U-Boot discussion From: michael at walle.cc (Michael Walle) Date: Fri, 22 May 2020 14:07:35 +0200 Subject: [PATCH 1/4] cmd: unzip: automatically select CONFIG_GZIP In-Reply-To: <20200522120738.13376-1-michael@walle.cc> References: <20200522120738.13376-1-michael@walle.cc> Message-ID: <20200522120738.13376-2-michael@walle.cc> 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 Reviewed-by: Heinrich Schuchardt --- cmd/Kconfig | 1 + 1 file changed, 1 insertion(+) 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.