diff options
| author | Adriano Cordova <[email protected]> | 2024-11-11 18:08:55 -0300 |
|---|---|---|
| committer | Heinrich Schuchardt <[email protected]> | 2024-11-16 21:35:05 +0100 |
| commit | 657b799585023b694f229816d249f7a733130d82 (patch) | |
| tree | d913c468aca8c4141b0b9823df7a2b615139ce4a /cmd | |
| parent | c71d451033db9ed1ea3ac46fa81a09ec9c58918c (diff) | |
net: Kconfig: add CONFIG_WGET symbol
Let net/wget.c and net/lwip/wget.c depend on CONFIG_WGET, and
cmd/wget.c depend on CONFIG_CMD_WGET. This way, the wget code
can be used regardless of whether the wget command is available.
Signed-off-by: Adriano Cordova <[email protected]>
Reviewed-by: Heinrich Schuchardt <[email protected]>
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/Kconfig | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index 636833646f6..8f3ad94089c 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -2115,11 +2115,8 @@ 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 - select PROT_DNS_LWIP if NET_LWIP + select WGET help wget is a simple command to download kernel, or other files, from a http server over TCP. |
