]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
cmd: license: Add CONFIG_GZIP dependency
authorIvan Orlov <ivan.orlov@codethink.co.uk>
Thu, 11 Jan 2024 12:58:19 +0000 (12:58 +0000)
committerTom Rini <trini@konsulko.com>
Fri, 19 Jan 2024 01:24:13 +0000 (20:24 -0500)
'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>
cmd/Kconfig

index 46600e5007da1f99803c01544cc8b7a139ccf08b..50625e7c16a6e8323b84d3f6091df3a39c1d52ef 100644 (file)
@@ -192,6 +192,7 @@ config CMD_HISTORY
 config CMD_LICENSE
        bool "license"
        select BUILD_BIN2C
+       depends on GZIP
        help
          Print GPL license text