summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorHolger Schurig <holgerschurig@gmail.com>2014-05-13 10:28:56 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-05-14 10:03:48 +0200
commit5bd055b660f89641494fa8a2a2262fdab195d288 (patch)
tree1a9964cfdb8326c975139ac1a5e34787f2ae0cad /net
parent86dda115a7594771c21c062b41301f59050d8a98 (diff)
downloadbarebox-5bd055b660f89641494fa8a2a2262fdab195d288.tar.gz
barebox-5bd055b660f89641494fa8a2a2262fdab195d288.tar.xz
commands: NET_PING -> CMD_PING
* this compile option actually turns on a command, so name it accordingly * also move the Kconfig definition into commands/Kconfig, thus placing getopt into the "Network commands" section * while at it, improve Kconfig documention Signed-off-by: Holger Schurig <holgerschurig@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'net')
-rw-r--r--net/Kconfig4
-rw-r--r--net/Makefile2
2 files changed, 1 insertions, 5 deletions
diff --git a/net/Kconfig b/net/Kconfig
index 59b64175de..e1acd3caea 100644
--- a/net/Kconfig
+++ b/net/Kconfig
@@ -11,10 +11,6 @@ config NET_NFS
bool
prompt "nfs support"
-config NET_PING
- bool
- prompt "ping support"
-
config NET_NETCONSOLE
bool
depends on !CONSOLE_NONE
diff --git a/net/Makefile b/net/Makefile
index fabb17e4a8..e0bb6bb45d 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -2,7 +2,7 @@ obj-$(CONFIG_NET_DHCP) += dhcp.o
obj-$(CONFIG_NET) += eth.o
obj-$(CONFIG_NET) += net.o
obj-$(CONFIG_NET_NFS) += nfs.o
-obj-$(CONFIG_NET_PING) += ping.o
+obj-$(CONFIG_CMD_PING) += ping.o
obj-$(CONFIG_NET_RESOLV)+= dns.o
obj-$(CONFIG_NET_NETCONSOLE) += netconsole.o
obj-$(CONFIG_NET_IFUP) += ifup.o