[PATCH 1/1] 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 --- 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

On Wed, 16 Oct 2024 at 12:50, Heinrich Schuchardt heinrich.schuchardt@canonical.com wrote:
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
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
Reviewed-by: Ilias Apalodimas ilias.apalodimas@linaro.org
participants (2)
-
Heinrich Schuchardt
-
Ilias Apalodimas