From c524f74d5b491d3d003b5d6daedd75bdefd08c23 Mon Sep 17 00:00:00 2001 From: Holger Schurig Date: Tue, 13 May 2014 10:28:57 +0200 Subject: commands: NET_DHCP -> CMD_DHCP * 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 Signed-off-by: Sascha Hauer --- net/Kconfig | 4 ---- net/Makefile | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'net') diff --git a/net/Kconfig b/net/Kconfig index e1acd3caea..d09ddee44e 100644 --- a/net/Kconfig +++ b/net/Kconfig @@ -3,10 +3,6 @@ menuconfig NET if NET -config NET_DHCP - bool - prompt "dhcp support" - config NET_NFS bool prompt "nfs support" diff --git a/net/Makefile b/net/Makefile index e0bb6bb45d..907dc28b99 100644 --- a/net/Makefile +++ b/net/Makefile @@ -1,7 +1,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_CMD_DHCP) += dhcp.o obj-$(CONFIG_CMD_PING) += ping.o obj-$(CONFIG_NET_RESOLV)+= dns.o obj-$(CONFIG_NET_NETCONSOLE) += netconsole.o -- cgit v1.2.3