[PATCH 1/1] cmd: wget: CONFIG_CMD_WGET must depend on CONFIG_CMD_NET

Heinrich Schuchardt heinrich.schuchardt at canonical.com
Wed Oct 16 11:50:39 CEST 2024


do_wget is defined in cmd/net.c.
cmd/net.c is not compiled if CONFIG_CMD_NET=n.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
---
 cmd/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 37894eb80d6..049a672100f 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -2010,6 +2010,7 @@ config SYS_DISABLE_AUTOLOAD
 
 config CMD_WGET
 	bool "wget"
+	depends on CMD_NET
 	select PROT_TCP
 	default y if SANDBOX
 	help
-- 
2.45.2



More information about the U-Boot mailing list