diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-02-26 22:24:08 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-02-26 22:24:08 +0100 |
commit | e3b1a1fd28558f7a1b3c0ec33313bedb675be8a1 (patch) | |
tree | 0fb387c2e7d45dc541d9a42f9f0eba4352353aa5 /networking | |
parent | da4441c44f6efccb6f7b7588404d9c6bfb7b6af8 (diff) | |
download | busybox-w32-e3b1a1fd28558f7a1b3c0ec33313bedb675be8a1.tar.gz busybox-w32-e3b1a1fd28558f7a1b3c0ec33313bedb675be8a1.tar.bz2 busybox-w32-e3b1a1fd28558f7a1b3c0ec33313bedb675be8a1.zip |
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.src | 37 | ||||
-rw-r--r-- | networking/ping.c | 2 | ||||
-rw-r--r-- | networking/udhcp/Config.src | 4 |
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 | |||
51 | config ARP | 51 | config ARP |
52 | bool "arp" | 52 | bool "arp" |
53 | default y | 53 | default y |
54 | depends on PLATFORM_LINUX | 54 | select PLATFORM_LINUX |
55 | help | 55 | help |
56 | Manipulate the system ARP cache. | 56 | Manipulate the system ARP cache. |
57 | 57 | ||
58 | config ARPING | 58 | config ARPING |
59 | bool "arping" | 59 | bool "arping" |
60 | default y | 60 | default y |
61 | depends on PLATFORM_LINUX | 61 | select PLATFORM_LINUX |
62 | help | 62 | help |
63 | Ping hosts by ARP packets. | 63 | Ping hosts by ARP packets. |
64 | 64 | ||
65 | config BRCTL | 65 | config BRCTL |
66 | bool "brctl" | 66 | bool "brctl" |
67 | default y | 67 | default y |
68 | depends on PLATFORM_LINUX | 68 | select PLATFORM_LINUX |
69 | help | 69 | help |
70 | Manage ethernet bridges. | 70 | Manage ethernet bridges. |
71 | Supports addbr/delbr and addif/delif. | 71 | Supports addbr/delbr and addif/delif. |
@@ -98,7 +98,7 @@ config DNSD | |||
98 | config ETHER_WAKE | 98 | config ETHER_WAKE |
99 | bool "ether-wake" | 99 | bool "ether-wake" |
100 | default y | 100 | default y |
101 | depends on PLATFORM_LINUX | 101 | select PLATFORM_LINUX |
102 | help | 102 | help |
103 | Send a magic packet to wake up sleeping machines. | 103 | Send a magic packet to wake up sleeping machines. |
104 | 104 | ||
@@ -281,7 +281,7 @@ config FEATURE_HTTPD_GZIP | |||
281 | config IFCONFIG | 281 | config IFCONFIG |
282 | bool "ifconfig" | 282 | bool "ifconfig" |
283 | default y | 283 | default y |
284 | depends on PLATFORM_LINUX | 284 | select PLATFORM_LINUX |
285 | help | 285 | help |
286 | Ifconfig is used to configure the kernel-resident network interfaces. | 286 | Ifconfig is used to configure the kernel-resident network interfaces. |
287 | 287 | ||
@@ -329,7 +329,7 @@ config FEATURE_IFCONFIG_BROADCAST_PLUS | |||
329 | config IFENSLAVE | 329 | config IFENSLAVE |
330 | bool "ifenslave" | 330 | bool "ifenslave" |
331 | default y | 331 | default y |
332 | depends on PLATFORM_LINUX | 332 | select PLATFORM_LINUX |
333 | help | 333 | help |
334 | Userspace application to bind several interfaces | 334 | Userspace application to bind several interfaces |
335 | to a logical interface (use with kernel bonding driver). | 335 | to a logical interface (use with kernel bonding driver). |
@@ -337,7 +337,7 @@ config IFENSLAVE | |||
337 | config IFPLUGD | 337 | config IFPLUGD |
338 | bool "ifplugd" | 338 | bool "ifplugd" |
339 | default y | 339 | default y |
340 | depends on PLATFORM_LINUX | 340 | select PLATFORM_LINUX |
341 | help | 341 | help |
342 | Network interface plug detection daemon. | 342 | Network interface plug detection daemon. |
343 | 343 | ||
@@ -379,7 +379,8 @@ config FEATURE_IFUPDOWN_IP | |||
379 | config FEATURE_IFUPDOWN_IP_BUILTIN | 379 | config FEATURE_IFUPDOWN_IP_BUILTIN |
380 | bool "Use busybox ip applet" | 380 | bool "Use busybox ip applet" |
381 | default y | 381 | default y |
382 | depends on FEATURE_IFUPDOWN_IP && PLATFORM_LINUX | 382 | depends on FEATURE_IFUPDOWN_IP |
383 | select PLATFORM_LINUX | ||
383 | select IP | 384 | select IP |
384 | select FEATURE_IP_ADDRESS | 385 | select FEATURE_IP_ADDRESS |
385 | select FEATURE_IP_LINK | 386 | select FEATURE_IP_LINK |
@@ -498,7 +499,7 @@ config FEATURE_INETD_RPC | |||
498 | config IP | 499 | config IP |
499 | bool "ip" | 500 | bool "ip" |
500 | default y | 501 | default y |
501 | depends on PLATFORM_LINUX | 502 | select PLATFORM_LINUX |
502 | help | 503 | help |
503 | The "ip" applet is a TCP/IP interface configuration and routing | 504 | The "ip" applet is a TCP/IP interface configuration and routing |
504 | utility. You generally don't need "ip" to use busybox with | 505 | utility. You generally don't need "ip" to use busybox with |
@@ -614,7 +615,7 @@ config FEATURE_IPCALC_LONG_OPTIONS | |||
614 | config NAMEIF | 615 | config NAMEIF |
615 | bool "nameif" | 616 | bool "nameif" |
616 | default y | 617 | default y |
617 | depends on PLATFORM_LINUX | 618 | select PLATFORM_LINUX |
618 | select FEATURE_SYSLOG | 619 | select FEATURE_SYSLOG |
619 | help | 620 | help |
620 | nameif is used to rename network interface by its MAC address. | 621 | nameif is used to rename network interface by its MAC address. |
@@ -643,7 +644,7 @@ config FEATURE_NAMEIF_EXTENDED | |||
643 | config NETSTAT | 644 | config NETSTAT |
644 | bool "netstat" | 645 | bool "netstat" |
645 | default y | 646 | default y |
646 | depends on PLATFORM_LINUX | 647 | select PLATFORM_LINUX |
647 | help | 648 | help |
648 | netstat prints information about the Linux networking subsystem. | 649 | netstat prints information about the Linux networking subsystem. |
649 | 650 | ||
@@ -672,7 +673,7 @@ config NSLOOKUP | |||
672 | config NTPD | 673 | config NTPD |
673 | bool "ntpd" | 674 | bool "ntpd" |
674 | default y | 675 | default y |
675 | depends on PLATFORM_LINUX | 676 | select PLATFORM_LINUX |
676 | help | 677 | help |
677 | The NTP client/server daemon. | 678 | The NTP client/server daemon. |
678 | 679 | ||
@@ -693,14 +694,14 @@ config PSCAN | |||
693 | config ROUTE | 694 | config ROUTE |
694 | bool "route" | 695 | bool "route" |
695 | default y | 696 | default y |
696 | depends on PLATFORM_LINUX | 697 | select PLATFORM_LINUX |
697 | help | 698 | help |
698 | Route displays or manipulates the kernel's IP routing tables. | 699 | Route displays or manipulates the kernel's IP routing tables. |
699 | 700 | ||
700 | config SLATTACH | 701 | config SLATTACH |
701 | bool "slattach" | 702 | bool "slattach" |
702 | default y | 703 | default y |
703 | depends on PLATFORM_LINUX | 704 | select PLATFORM_LINUX |
704 | help | 705 | help |
705 | slattach is a small utility to attach network interfaces to serial | 706 | slattach is a small utility to attach network interfaces to serial |
706 | lines. | 707 | lines. |
@@ -887,7 +888,7 @@ config TFTP_DEBUG | |||
887 | config TRACEROUTE | 888 | config TRACEROUTE |
888 | bool "traceroute" | 889 | bool "traceroute" |
889 | default y | 890 | default y |
890 | depends on PLATFORM_LINUX | 891 | select PLATFORM_LINUX |
891 | help | 892 | help |
892 | Utility to trace the route of IP packets. | 893 | Utility to trace the route of IP packets. |
893 | 894 | ||
@@ -924,7 +925,7 @@ config FEATURE_TRACEROUTE_USE_ICMP | |||
924 | config TUNCTL | 925 | config TUNCTL |
925 | bool "tunctl" | 926 | bool "tunctl" |
926 | default y | 927 | default y |
927 | depends on PLATFORM_LINUX | 928 | select PLATFORM_LINUX |
928 | help | 929 | help |
929 | tunctl creates or deletes tun devices. | 930 | tunctl creates or deletes tun devices. |
930 | 931 | ||
@@ -957,7 +958,7 @@ config UDPSVD | |||
957 | config VCONFIG | 958 | config VCONFIG |
958 | bool "vconfig" | 959 | bool "vconfig" |
959 | default y | 960 | default y |
960 | depends on PLATFORM_LINUX | 961 | select PLATFORM_LINUX |
961 | help | 962 | help |
962 | Creates, removes, and configures VLAN interfaces | 963 | Creates, removes, and configures VLAN interfaces |
963 | 964 | ||
@@ -1004,7 +1005,7 @@ config FEATURE_WGET_TIMEOUT | |||
1004 | config ZCIP | 1005 | config ZCIP |
1005 | bool "zcip" | 1006 | bool "zcip" |
1006 | default y | 1007 | default y |
1007 | depends on PLATFORM_LINUX | 1008 | select PLATFORM_LINUX |
1008 | select FEATURE_SYSLOG | 1009 | select FEATURE_SYSLOG |
1009 | help | 1010 | help |
1010 | ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927. | 1011 | 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 @@ | |||
32 | //config:config PING | 32 | //config:config PING |
33 | //config: bool "ping" | 33 | //config: bool "ping" |
34 | //config: default y | 34 | //config: default y |
35 | //config: depends on PLATFORM_LINUX | 35 | //config: select PLATFORM_LINUX |
36 | //config: help | 36 | //config: help |
37 | //config: ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to | 37 | //config: ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to |
38 | //config: elicit an ICMP ECHO_RESPONSE from a host or gateway. | 38 | //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 | |||
8 | config UDHCPD | 8 | config UDHCPD |
9 | bool "udhcp server (udhcpd)" | 9 | bool "udhcp server (udhcpd)" |
10 | default y | 10 | default y |
11 | depends on PLATFORM_LINUX | 11 | select PLATFORM_LINUX |
12 | help | 12 | help |
13 | udhcpd is a DHCP server geared primarily toward embedded systems, | 13 | udhcpd is a DHCP server geared primarily toward embedded systems, |
14 | while striving to be fully functional and RFC compliant. | 14 | while striving to be fully functional and RFC compliant. |
@@ -66,7 +66,7 @@ config DHCPD_LEASES_FILE | |||
66 | config UDHCPC | 66 | config UDHCPC |
67 | bool "udhcp client (udhcpc)" | 67 | bool "udhcp client (udhcpc)" |
68 | default y | 68 | default y |
69 | depends on PLATFORM_LINUX | 69 | select PLATFORM_LINUX |
70 | help | 70 | help |
71 | udhcpc is a DHCP client geared primarily toward embedded systems, | 71 | udhcpc is a DHCP client geared primarily toward embedded systems, |
72 | while striving to be fully functional and RFC compliant. | 72 | while striving to be fully functional and RFC compliant. |