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

Ilias Apalodimas ilias.apalodimas at linaro.org
Wed Oct 16 15:34:05 CEST 2024


On Wed, 16 Oct 2024 at 12:50, Heinrich Schuchardt
<heinrich.schuchardt at 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 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
>

Reviewed-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>


More information about the U-Boot mailing list