aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2011-02-26 22:24:08 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2011-02-26 22:24:08 +0100
commite3b1a1fd28558f7a1b3c0ec33313bedb675be8a1 (patch)
tree0fb387c2e7d45dc541d9a42f9f0eba4352353aa5 /networking
parentda4441c44f6efccb6f7b7588404d9c6bfb7b6af8 (diff)
downloadbusybox-e3b1a1fd28558f7a1b3c0ec33313bedb675be8a1.tar.gz
Replace "depends on PLATFORM_LINUX" with "select PLATFORM_LINUX"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-rw-r--r--networking/Config.src37
-rw-r--r--networking/ping.c2
-rw-r--r--networking/udhcp/Config.src4
3 files changed, 22 insertions, 21 deletions
diff --git a/networking/Config.src b/networking/Config.src
index 274fcae3a..06930f4a6 100644
--- a/networking/Config.src
+++ b/networking/Config.src
@@ -51,21 +51,21 @@ config VERBOSE_RESOLUTION_ERRORS
config ARP
bool "arp"
default y
- depends on PLATFORM_LINUX
+ select PLATFORM_LINUX
help
Manipulate the system ARP cache.
config ARPING
bool "arping"
default y
- depends on PLATFORM_LINUX
+ select PLATFORM_LINUX
help
Ping hosts by ARP packets.
config BRCTL
bool "brctl"
default y
- depends on PLATFORM_LINUX
+ select PLATFORM_LINUX
help
Manage ethernet bridges.
Supports addbr/delbr and addif/delif.
@@ -98,7 +98,7 @@ config DNSD
config ETHER_WAKE
bool "ether-wake"
default y
- depends on PLATFORM_LINUX
+ select PLATFORM_LINUX
help
Send a magic packet to wake up sleeping machines.
@@ -281,7 +281,7 @@ config FEATURE_HTTPD_GZIP
config IFCONFIG
bool "ifconfig"
default y
- depends on PLATFORM_LINUX
+ select PLATFORM_LINUX
help
Ifconfig is used to configure the kernel-resident network interfaces.
@@ -329,7 +329,7 @@ config FEATURE_IFCONFIG_BROADCAST_PLUS
config IFENSLAVE
bool "ifenslave"
default y
- depends on PLATFORM_LINUX
+ select PLATFORM_LINUX
help
Userspace application to bind several interfaces
to a logical interface (use with kernel bonding driver).
@@ -337,7 +337,7 @@ config IFENSLAVE
config IFPLUGD
bool "ifplugd"
default y
- depends on PLATFORM_LINUX
+ select PLATFORM_LINUX
help
Network interface plug detection daemon.
@@ -379,7 +379,8 @@ config FEATURE_IFUPDOWN_IP
config FEATURE_IFUPDOWN_IP_BUILTIN
bool "Use busybox ip applet"
default y
- depends on FEATURE_IFUPDOWN_IP && PLATFORM_LINUX
+ depends on FEATURE_IFUPDOWN_IP
+ select PLATFORM_LINUX
select IP
select FEATURE_IP_ADDRESS
select FEATURE_IP_LINK
@@ -498,7 +499,7 @@ config FEATURE_INETD_RPC
config IP
bool "ip"
default y
- depends on PLATFORM_LINUX
+ select PLATFORM_LINUX
help
The "ip" applet is a TCP/IP interface configuration and routing
utility. You generally don't need "ip" to use busybox with
@@ -614,7 +615,7 @@ config FEATURE_IPCALC_LONG_OPTIONS
config NAMEIF
bool "nameif"
default y
- depends on PLATFORM_LINUX
+ select PLATFORM_LINUX
select FEATURE_SYSLOG
help
nameif is used to rename network interface by its MAC address.
@@ -643,7 +644,7 @@ config FEATURE_NAMEIF_EXTENDED
config NETSTAT
bool "netstat"
default y
- depends on PLATFORM_LINUX
+ select PLATFORM_LINUX
help
netstat prints information about the Linux networking subsystem.
@@ -672,7 +673,7 @@ config NSLOOKUP
config NTPD
bool "ntpd"
default y
- depends on PLATFORM_LINUX
+ select PLATFORM_LINUX
help
The NTP client/server daemon.
@@ -693,14 +694,14 @@ config PSCAN
config ROUTE
bool "route"
default y
- depends on PLATFORM_LINUX
+ select PLATFORM_LINUX
help
Route displays or manipulates the kernel's IP routing tables.
config SLATTACH
bool "slattach"
default y
- depends on PLATFORM_LINUX
+ select PLATFORM_LINUX
help
slattach is a small utility to attach network interfaces to serial
lines.
@@ -887,7 +888,7 @@ config TFTP_DEBUG
config TRACEROUTE
bool "traceroute"
default y
- depends on PLATFORM_LINUX
+ select PLATFORM_LINUX
help
Utility to trace the route of IP packets.
@@ -924,7 +925,7 @@ config FEATURE_TRACEROUTE_USE_ICMP
config TUNCTL
bool "tunctl"
default y
- depends on PLATFORM_LINUX
+ select PLATFORM_LINUX
help
tunctl creates or deletes tun devices.
@@ -957,7 +958,7 @@ config UDPSVD
config VCONFIG
bool "vconfig"
default y
- depends on PLATFORM_LINUX
+ select PLATFORM_LINUX
help
Creates, removes, and configures VLAN interfaces
@@ -1004,7 +1005,7 @@ config FEATURE_WGET_TIMEOUT
config ZCIP
bool "zcip"
default y
- depends on PLATFORM_LINUX
+ select PLATFORM_LINUX
select FEATURE_SYSLOG
help
ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927.
diff --git a/networking/ping.c b/networking/ping.c
index c2ff42e2c..7a9c2d1f0 100644
--- a/networking/ping.c
+++ b/networking/ping.c
@@ -32,7 +32,7 @@
//config:config PING
//config: bool "ping"
//config: default y
-//config: depends on PLATFORM_LINUX
+//config: select PLATFORM_LINUX
//config: help
//config: ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to
//config: elicit an ICMP ECHO_RESPONSE from a host or gateway.
diff --git a/networking/udhcp/Config.src b/networking/udhcp/Config.src
index 750a53a32..9cd8cbbae 100644
--- a/networking/udhcp/Config.src
+++ b/networking/udhcp/Config.src
@@ -8,7 +8,7 @@ INSERT
config UDHCPD
bool "udhcp server (udhcpd)"
default y
- depends on PLATFORM_LINUX
+ select PLATFORM_LINUX
help
udhcpd is a DHCP server geared primarily toward embedded systems,
while striving to be fully functional and RFC compliant.
@@ -66,7 +66,7 @@ config DHCPD_LEASES_FILE
config UDHCPC
bool "udhcp client (udhcpc)"
default y
- depends on PLATFORM_LINUX
+ select PLATFORM_LINUX
help
udhcpc is a DHCP client geared primarily toward embedded systems,
while striving to be fully functional and RFC compliant.