summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorHolger Schurig <holgerschurig@gmail.com>2014-05-13 10:28:57 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-05-14 10:03:49 +0200
commitc524f74d5b491d3d003b5d6daedd75bdefd08c23 (patch)
tree7ae335633ff9a6c75e74baa7c23b7e91c2e0af19 /net
parent5bd055b660f89641494fa8a2a2262fdab195d288 (diff)
downloadbarebox-c524f74d5b491d3d003b5d6daedd75bdefd08c23.tar.gz
barebox-c524f74d5b491d3d003b5d6daedd75bdefd08c23.tar.xz
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 <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 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