summaryrefslogtreecommitdiff
path: root/net/Makefile
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2018-04-13 15:26:30 -0500
committerJoe Hershberger <joe.hershberger@ni.com>2018-04-13 15:47:57 -0500
commitd7a45eafda633edf14a8fe6fe430174889de0c4e (patch)
tree1bba5e8ae0695ff04d93ce0725d5dda56d19404c /net/Makefile
parentb107fd5bab5d80b08f175990e902ac934719a8e2 (diff)
downloadu-boot-d7a45eafda633edf14a8fe6fe430174889de0c4e.tar.gz
net: Make CMD_NET a menuconfig
Previously, CMD_NET was an alias for 2 commands (bootp and tftpboot) and they we not able to be disabled. Separate out those 2 commands and move CMD_NET up to the menu level, which more accurately represents the code. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Chris Packham <judge.packham@gmail.com> Reviewed-by: Duncan Hare <dh@synoia.com>
Diffstat (limited to 'net/Makefile')
-rw-r--r--net/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/Makefile b/net/Makefile
index ae54eee5af..ed102ece00 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -9,7 +9,7 @@
obj-y += checksum.o
obj-$(CONFIG_CMD_NET) += arp.o
-obj-$(CONFIG_CMD_NET) += bootp.o
+obj-$(CONFIG_CMD_BOOTP) += bootp.o
obj-$(CONFIG_CMD_CDP) += cdp.o
obj-$(CONFIG_CMD_DNS) += dns.o
ifdef CONFIG_DM_ETH
@@ -24,7 +24,7 @@ obj-$(CONFIG_CMD_NFS) += nfs.o
obj-$(CONFIG_CMD_PING) += ping.o
obj-$(CONFIG_CMD_RARP) += rarp.o
obj-$(CONFIG_CMD_SNTP) += sntp.o
-obj-$(CONFIG_CMD_NET) += tftp.o
+obj-$(CONFIG_CMD_TFTPBOOT) += tftp.o
# Disable this warning as it is triggered by:
# sprintf(buf, index ? "foo%d" : "foo", index)