[PATCH] 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 --- cmd/Kconfig | 1 + 1 file changed, 1 insertion(+)
diff --git a/cmd/Kconfig b/cmd/Kconfig index 26aeeeed03..0d63cbfda1 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -188,6 +188,7 @@ config CMD_HISTORY config CMD_LICENSE bool "license" select BUILD_BIN2C + depends on GZIP help Print GPL license text

On Thu, Jan 11, 2024 at 12:58:19PM +0000, Ivan Orlov wrote:
'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
Applied to u-boot/master, thanks!
participants (2)
-
Ivan Orlov
-
Tom Rini