summaryrefslogtreecommitdiff
path: root/net/Makefile
diff options
context:
space:
mode:
authorYing-Chun Liu (PaulLiu) <paul.liu@linaro.org>2022-11-08 14:17:29 +0800
committerTom Rini <trini@konsulko.com>2022-11-28 13:06:39 -0500
commitcfbae48219fd81f6c9e1a7b5ee160cdd3005f958 (patch)
treecf1e9db0754ad81314df553a1c69c9e1edeef482 /net/Makefile
parenta3bf193bf4ea8703bcf96b1a34713fb2ae87aa39 (diff)
downloadu-boot-cfbae48219fd81f6c9e1a7b5ee160cdd3005f958.tar.gz
u-boot-cfbae48219fd81f6c9e1a7b5ee160cdd3005f958.tar.bz2
u-boot-cfbae48219fd81f6c9e1a7b5ee160cdd3005f958.zip
net: Add wget application
This commit adds a simple wget command that can download files from http server. The command syntax is wget ${loadaddr} <path of the file from server> Signed-off-by: Duncan Hare <DuncanCHare@yahoo.com> Signed-off-by: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Cc: Christian Gmeiner <christian.gmeiner@gmail.com> Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Michal Simek <michal.simek@xilinx.com> Cc: Ramon Fried <rfried.dev@gmail.com> Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Diffstat (limited to 'net/Makefile')
-rw-r--r--net/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index d131d1cb1a..4f757a224c 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -31,6 +31,7 @@ obj-$(CONFIG_UDP_FUNCTION_FASTBOOT) += fastboot.o
obj-$(CONFIG_CMD_WOL) += wol.o
obj-$(CONFIG_PROT_UDP) += udp.o
obj-$(CONFIG_PROT_TCP) += tcp.o
+obj-$(CONFIG_CMD_WGET) += wget.o
# Disable this warning as it is triggered by:
# sprintf(buf, index ? "foo%d" : "foo", index)