summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorIvan Orlov <ivan.orlov@codethink.co.uk>2024-01-11 12:58:19 +0000
committerTom Rini <trini@konsulko.com>2024-01-18 20:24:13 -0500
commitcf536daeedf559d4192b1a9c85e0745a904b9204 (patch)
treeecfa241db68ea3a709326fc7f0c7f71c3131fbe4 /cmd
parent0afee2623d5a313473cb9b57df2fbadf54f86b82 (diff)
downloadu-boot-cf536daeedf559d4192b1a9c85e0745a904b9204.tar.gz
u-boot-cf536daeedf559d4192b1a9c85e0745a904b9204.tar.bz2
u-boot-cf536daeedf559d4192b1a9c85e0745a904b9204.zip
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>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 46600e5007..50625e7c16 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -192,6 +192,7 @@ config CMD_HISTORY
config CMD_LICENSE
bool "license"
select BUILD_BIN2C
+ depends on GZIP
help
Print GPL license text