summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2024-10-16 11:50:39 +0200
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2024-10-18 16:17:28 +0200
commit82c98b9464d1c4473f9c695a0bbe1579c2de9682 (patch)
tree1ce2b344fbc87e24a3a8a67897dac68465b36eba
parent8ac96c25e4a0df85f5069100ce1697d431bd0e12 (diff)
cmd: wget: CONFIG_CMD_WGET must depend on CONFIG_CMD_NET
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@canonical.com> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
-rw-r--r--cmd/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index bff22b94de2..2f63959e91c 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -2117,6 +2117,7 @@ config CMD_TFTPBOOT
config CMD_WGET
bool "wget"
+ depends on CMD_NET
default y if SANDBOX
select PROT_TCP if NET
select PROT_TCP_LWIP if NET_LWIP