gunzip.c: Only include gzwrite on CONFIG_CMD_UNZIP
authorTom Rini <trini@konsulko.com>
Thu, 14 Jan 2016 18:02:05 +0000 (13:02 -0500)
committerTom Rini <trini@konsulko.com>
Tue, 19 Jan 2016 13:31:17 +0000 (08:31 -0500)
commit1811b7d38cf6e6caacc083044bc8f0f8015b5627
treec481c5b564f3f0a5e75960b2be258279427370f3
parentb5db3c2c7ebdfd1474bd50442295e935e6910a08
gunzip.c: Only include gzwrite on CONFIG_CMD_UNZIP

Only when we have CONFIG_CMD_UNZIP enabled do we have the 'gzwrite'
command.  While this command should be separated from CONFIG_CMD_UNZIP
we should also only include the write portion of the gz code in that
case as well.

Signed-off-by: Tom Rini <trini@konsulko.com>
lib/gunzip.c