]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
cmd: wget: CONFIG_CMD_WGET must depend on CONFIG_CMD_NET
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Wed, 16 Oct 2024 09:50:39 +0000 (11:50 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 18 Oct 2024 14:17:28 +0000 (16:17 +0200)
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>
cmd/Kconfig

index bff22b94de2beb2a789ff8e3c7fdc6ac5a097c60..2f63959e91cc40db44b360427bf432297407ebec 100644 (file)
@@ -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