cmd: license: Add CONFIG_GZIP dependency

'License' command processing code could be successfully compiled only
when CONFIG_GZIP option is enabled, otherwise it can't find the 'gunzip'
function definition (it is defined in lib/gunzip.c).

Add CONFIG_GZIP dependency to 'license' command config option in the
corresponding Kconfig.

Signed-off-by: Ivan Orlov <ivan.orlov@codethink.co.uk>
This commit is contained in:
Ivan Orlov 2024-01-11 12:58:19 +00:00 committed by Tom Rini
parent 0afee2623d
commit cf536daeed

View file

@ -192,6 +192,7 @@ config CMD_HISTORY
config CMD_LICENSE
bool "license"
select BUILD_BIN2C
depends on GZIP
help
Print GPL license text