diff options
author | Ron Yorston <rmy@pobox.com> | 2020-08-04 08:24:19 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2020-08-13 17:12:56 +0200 |
commit | 5c69ad0ecdc18cf51b312c7c82848f4438fe1c8d (patch) | |
tree | aeb911b86b6dab262429a8a9fa76bcdf697b02a3 /networking | |
parent | 9914d8b861a0edb42051bd68a37bceb0562daa70 (diff) | |
download | busybox-w32-5c69ad0ecdc18cf51b312c7c82848f4438fe1c8d.tar.gz busybox-w32-5c69ad0ecdc18cf51b312c7c82848f4438fe1c8d.tar.bz2 busybox-w32-5c69ad0ecdc18cf51b312c7c82848f4438fe1c8d.zip |
build system: drop PLATFORM_LINUX
PLATFORM_LINUX is a hidden configuration option which is disabled by
default and enabled at over a hundred locations for features that are
deemed to be Linux specific.
The only effect of PLATFORM_LINUX is to control compilation of
libbb/match_fstype.c. This file is only needed by mount and umount.
Remove all references to PLATFORM_LINUX and compile match_fstype.c
if mount or umount is enabled.
Signed-off-by: Ron Yorston <rmy@pobox.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-rw-r--r-- | networking/arp.c | 1 | ||||
-rw-r--r-- | networking/arping.c | 1 | ||||
-rw-r--r-- | networking/brctl.c | 1 | ||||
-rw-r--r-- | networking/ether-wake.c | 1 | ||||
-rw-r--r-- | networking/ifconfig.c | 1 | ||||
-rw-r--r-- | networking/ifenslave.c | 1 | ||||
-rw-r--r-- | networking/ifplugd.c | 1 | ||||
-rw-r--r-- | networking/ip.c | 7 | ||||
-rw-r--r-- | networking/nameif.c | 1 | ||||
-rw-r--r-- | networking/netstat.c | 1 | ||||
-rw-r--r-- | networking/ntpd.c | 1 | ||||
-rw-r--r-- | networking/ping.c | 1 | ||||
-rw-r--r-- | networking/route.c | 1 | ||||
-rw-r--r-- | networking/slattach.c | 1 | ||||
-rw-r--r-- | networking/traceroute.c | 1 | ||||
-rw-r--r-- | networking/tunctl.c | 1 | ||||
-rw-r--r-- | networking/udhcp/Config.src | 2 | ||||
-rw-r--r-- | networking/vconfig.c | 1 | ||||
-rw-r--r-- | networking/zcip.c | 1 |
19 files changed, 0 insertions, 26 deletions
diff --git a/networking/arp.c b/networking/arp.c index 6519f8156..16783ab95 100644 --- a/networking/arp.c +++ b/networking/arp.c | |||
@@ -15,7 +15,6 @@ | |||
15 | //config:config ARP | 15 | //config:config ARP |
16 | //config: bool "arp (10 kb)" | 16 | //config: bool "arp (10 kb)" |
17 | //config: default y | 17 | //config: default y |
18 | //config: select PLATFORM_LINUX | ||
19 | //config: help | 18 | //config: help |
20 | //config: Manipulate the system ARP cache. | 19 | //config: Manipulate the system ARP cache. |
21 | 20 | ||
diff --git a/networking/arping.c b/networking/arping.c index 2a256aaa0..d44d7d697 100644 --- a/networking/arping.c +++ b/networking/arping.c | |||
@@ -8,7 +8,6 @@ | |||
8 | //config:config ARPING | 8 | //config:config ARPING |
9 | //config: bool "arping (9 kb)" | 9 | //config: bool "arping (9 kb)" |
10 | //config: default y | 10 | //config: default y |
11 | //config: select PLATFORM_LINUX | ||
12 | //config: help | 11 | //config: help |
13 | //config: Ping hosts by ARP packets. | 12 | //config: Ping hosts by ARP packets. |
14 | 13 | ||
diff --git a/networking/brctl.c b/networking/brctl.c index 2f4ac4a87..f057f9b60 100644 --- a/networking/brctl.c +++ b/networking/brctl.c | |||
@@ -12,7 +12,6 @@ | |||
12 | //config:config BRCTL | 12 | //config:config BRCTL |
13 | //config: bool "brctl (4.7 kb)" | 13 | //config: bool "brctl (4.7 kb)" |
14 | //config: default y | 14 | //config: default y |
15 | //config: select PLATFORM_LINUX | ||
16 | //config: help | 15 | //config: help |
17 | //config: Manage ethernet bridges. | 16 | //config: Manage ethernet bridges. |
18 | //config: Supports addbr/delbr and addif/delif. | 17 | //config: Supports addbr/delbr and addif/delif. |
diff --git a/networking/ether-wake.c b/networking/ether-wake.c index f45d43609..36e90acfb 100644 --- a/networking/ether-wake.c +++ b/networking/ether-wake.c | |||
@@ -66,7 +66,6 @@ | |||
66 | //config:config ETHER_WAKE | 66 | //config:config ETHER_WAKE |
67 | //config: bool "ether-wake (4.9 kb)" | 67 | //config: bool "ether-wake (4.9 kb)" |
68 | //config: default y | 68 | //config: default y |
69 | //config: select PLATFORM_LINUX | ||
70 | //config: help | 69 | //config: help |
71 | //config: Send a magic packet to wake up sleeping machines. | 70 | //config: Send a magic packet to wake up sleeping machines. |
72 | 71 | ||
diff --git a/networking/ifconfig.c b/networking/ifconfig.c index b566d91a9..3c9a2dfb3 100644 --- a/networking/ifconfig.c +++ b/networking/ifconfig.c | |||
@@ -27,7 +27,6 @@ | |||
27 | //config:config IFCONFIG | 27 | //config:config IFCONFIG |
28 | //config: bool "ifconfig (12 kb)" | 28 | //config: bool "ifconfig (12 kb)" |
29 | //config: default y | 29 | //config: default y |
30 | //config: select PLATFORM_LINUX | ||
31 | //config: help | 30 | //config: help |
32 | //config: Ifconfig is used to configure the kernel-resident network interfaces. | 31 | //config: Ifconfig is used to configure the kernel-resident network interfaces. |
33 | //config: | 32 | //config: |
diff --git a/networking/ifenslave.c b/networking/ifenslave.c index 5e769b61d..bdb9894be 100644 --- a/networking/ifenslave.c +++ b/networking/ifenslave.c | |||
@@ -100,7 +100,6 @@ | |||
100 | //config:config IFENSLAVE | 100 | //config:config IFENSLAVE |
101 | //config: bool "ifenslave (13 kb)" | 101 | //config: bool "ifenslave (13 kb)" |
102 | //config: default y | 102 | //config: default y |
103 | //config: select PLATFORM_LINUX | ||
104 | //config: help | 103 | //config: help |
105 | //config: Userspace application to bind several interfaces | 104 | //config: Userspace application to bind several interfaces |
106 | //config: to a logical interface (use with kernel bonding driver). | 105 | //config: to a logical interface (use with kernel bonding driver). |
diff --git a/networking/ifplugd.c b/networking/ifplugd.c index fa18edd57..0d17b7d8c 100644 --- a/networking/ifplugd.c +++ b/networking/ifplugd.c | |||
@@ -9,7 +9,6 @@ | |||
9 | //config:config IFPLUGD | 9 | //config:config IFPLUGD |
10 | //config: bool "ifplugd (10 kb)" | 10 | //config: bool "ifplugd (10 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: select PLATFORM_LINUX | ||
13 | //config: help | 12 | //config: help |
14 | //config: Network interface plug detection daemon. | 13 | //config: Network interface plug detection daemon. |
15 | 14 | ||
diff --git a/networking/ip.c b/networking/ip.c index 45bf1dc0a..7d3faf7f8 100644 --- a/networking/ip.c +++ b/networking/ip.c | |||
@@ -11,7 +11,6 @@ | |||
11 | //config:config IP | 11 | //config:config IP |
12 | //config: bool "ip (35 kb)" | 12 | //config: bool "ip (35 kb)" |
13 | //config: default y | 13 | //config: default y |
14 | //config: select PLATFORM_LINUX | ||
15 | //config: help | 14 | //config: help |
16 | //config: The "ip" applet is a TCP/IP interface configuration and routing | 15 | //config: The "ip" applet is a TCP/IP interface configuration and routing |
17 | //config: utility. | 16 | //config: utility. |
@@ -23,7 +22,6 @@ | |||
23 | //config: bool "ipaddr (14 kb)" | 22 | //config: bool "ipaddr (14 kb)" |
24 | //config: default y | 23 | //config: default y |
25 | //config: select FEATURE_IP_ADDRESS | 24 | //config: select FEATURE_IP_ADDRESS |
26 | //config: select PLATFORM_LINUX | ||
27 | //config: help | 25 | //config: help |
28 | //config: Short form of "ip addr" | 26 | //config: Short form of "ip addr" |
29 | //config: | 27 | //config: |
@@ -31,7 +29,6 @@ | |||
31 | //config: bool "iplink (17 kb)" | 29 | //config: bool "iplink (17 kb)" |
32 | //config: default y | 30 | //config: default y |
33 | //config: select FEATURE_IP_LINK | 31 | //config: select FEATURE_IP_LINK |
34 | //config: select PLATFORM_LINUX | ||
35 | //config: help | 32 | //config: help |
36 | //config: Short form of "ip link" | 33 | //config: Short form of "ip link" |
37 | //config: | 34 | //config: |
@@ -39,7 +36,6 @@ | |||
39 | //config: bool "iproute (15 kb)" | 36 | //config: bool "iproute (15 kb)" |
40 | //config: default y | 37 | //config: default y |
41 | //config: select FEATURE_IP_ROUTE | 38 | //config: select FEATURE_IP_ROUTE |
42 | //config: select PLATFORM_LINUX | ||
43 | //config: help | 39 | //config: help |
44 | //config: Short form of "ip route" | 40 | //config: Short form of "ip route" |
45 | //config: | 41 | //config: |
@@ -47,7 +43,6 @@ | |||
47 | //config: bool "iptunnel (9.6 kb)" | 43 | //config: bool "iptunnel (9.6 kb)" |
48 | //config: default y | 44 | //config: default y |
49 | //config: select FEATURE_IP_TUNNEL | 45 | //config: select FEATURE_IP_TUNNEL |
50 | //config: select PLATFORM_LINUX | ||
51 | //config: help | 46 | //config: help |
52 | //config: Short form of "ip tunnel" | 47 | //config: Short form of "ip tunnel" |
53 | //config: | 48 | //config: |
@@ -55,7 +50,6 @@ | |||
55 | //config: bool "iprule (10 kb)" | 50 | //config: bool "iprule (10 kb)" |
56 | //config: default y | 51 | //config: default y |
57 | //config: select FEATURE_IP_RULE | 52 | //config: select FEATURE_IP_RULE |
58 | //config: select PLATFORM_LINUX | ||
59 | //config: help | 53 | //config: help |
60 | //config: Short form of "ip rule" | 54 | //config: Short form of "ip rule" |
61 | //config: | 55 | //config: |
@@ -63,7 +57,6 @@ | |||
63 | //config: bool "ipneigh (8.3 kb)" | 57 | //config: bool "ipneigh (8.3 kb)" |
64 | //config: default y | 58 | //config: default y |
65 | //config: select FEATURE_IP_NEIGH | 59 | //config: select FEATURE_IP_NEIGH |
66 | //config: select PLATFORM_LINUX | ||
67 | //config: help | 60 | //config: help |
68 | //config: Short form of "ip neigh" | 61 | //config: Short form of "ip neigh" |
69 | //config: | 62 | //config: |
diff --git a/networking/nameif.c b/networking/nameif.c index 91d50536a..854594c83 100644 --- a/networking/nameif.c +++ b/networking/nameif.c | |||
@@ -12,7 +12,6 @@ | |||
12 | //config:config NAMEIF | 12 | //config:config NAMEIF |
13 | //config: bool "nameif (6.6 kb)" | 13 | //config: bool "nameif (6.6 kb)" |
14 | //config: default y | 14 | //config: default y |
15 | //config: select PLATFORM_LINUX | ||
16 | //config: select FEATURE_SYSLOG | 15 | //config: select FEATURE_SYSLOG |
17 | //config: help | 16 | //config: help |
18 | //config: nameif is used to rename network interface by its MAC address. | 17 | //config: nameif is used to rename network interface by its MAC address. |
diff --git a/networking/netstat.c b/networking/netstat.c index c7934423b..936610f89 100644 --- a/networking/netstat.c +++ b/networking/netstat.c | |||
@@ -16,7 +16,6 @@ | |||
16 | //config:config NETSTAT | 16 | //config:config NETSTAT |
17 | //config: bool "netstat (10 kb)" | 17 | //config: bool "netstat (10 kb)" |
18 | //config: default y | 18 | //config: default y |
19 | //config: select PLATFORM_LINUX | ||
20 | //config: help | 19 | //config: help |
21 | //config: netstat prints information about the Linux networking subsystem. | 20 | //config: netstat prints information about the Linux networking subsystem. |
22 | //config: | 21 | //config: |
diff --git a/networking/ntpd.c b/networking/ntpd.c index b08de504e..d721fe80c 100644 --- a/networking/ntpd.c +++ b/networking/ntpd.c | |||
@@ -43,7 +43,6 @@ | |||
43 | //config:config NTPD | 43 | //config:config NTPD |
44 | //config: bool "ntpd (22 kb)" | 44 | //config: bool "ntpd (22 kb)" |
45 | //config: default y | 45 | //config: default y |
46 | //config: select PLATFORM_LINUX | ||
47 | //config: help | 46 | //config: help |
48 | //config: The NTP client/server daemon. | 47 | //config: The NTP client/server daemon. |
49 | //config: | 48 | //config: |
diff --git a/networking/ping.c b/networking/ping.c index a47342fee..47b6ab1b2 100644 --- a/networking/ping.c +++ b/networking/ping.c | |||
@@ -27,7 +27,6 @@ | |||
27 | //config:config PING | 27 | //config:config PING |
28 | //config: bool "ping (10 kb)" | 28 | //config: bool "ping (10 kb)" |
29 | //config: default y | 29 | //config: default y |
30 | //config: select PLATFORM_LINUX | ||
31 | //config: help | 30 | //config: help |
32 | //config: ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to | 31 | //config: ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to |
33 | //config: elicit an ICMP ECHO_RESPONSE from a host or gateway. | 32 | //config: elicit an ICMP ECHO_RESPONSE from a host or gateway. |
diff --git a/networking/route.c b/networking/route.c index e785b1da6..4d9aad6cc 100644 --- a/networking/route.c +++ b/networking/route.c | |||
@@ -27,7 +27,6 @@ | |||
27 | //config:config ROUTE | 27 | //config:config ROUTE |
28 | //config: bool "route (8.7 kb)" | 28 | //config: bool "route (8.7 kb)" |
29 | //config: default y | 29 | //config: default y |
30 | //config: select PLATFORM_LINUX | ||
31 | //config: help | 30 | //config: help |
32 | //config: Route displays or manipulates the kernel's IP routing tables. | 31 | //config: Route displays or manipulates the kernel's IP routing tables. |
33 | 32 | ||
diff --git a/networking/slattach.c b/networking/slattach.c index 659822a91..51fbc1f49 100644 --- a/networking/slattach.c +++ b/networking/slattach.c | |||
@@ -15,7 +15,6 @@ | |||
15 | //config:config SLATTACH | 15 | //config:config SLATTACH |
16 | //config: bool "slattach (6.2 kb)" | 16 | //config: bool "slattach (6.2 kb)" |
17 | //config: default y | 17 | //config: default y |
18 | //config: select PLATFORM_LINUX | ||
19 | //config: help | 18 | //config: help |
20 | //config: slattach configures serial line as SLIP network interface. | 19 | //config: slattach configures serial line as SLIP network interface. |
21 | 20 | ||
diff --git a/networking/traceroute.c b/networking/traceroute.c index 06d3f19da..5068f654b 100644 --- a/networking/traceroute.c +++ b/networking/traceroute.c | |||
@@ -212,7 +212,6 @@ | |||
212 | //config:config TRACEROUTE | 212 | //config:config TRACEROUTE |
213 | //config: bool "traceroute (11 kb)" | 213 | //config: bool "traceroute (11 kb)" |
214 | //config: default y | 214 | //config: default y |
215 | //config: select PLATFORM_LINUX | ||
216 | //config: help | 215 | //config: help |
217 | //config: Utility to trace the route of IP packets. | 216 | //config: Utility to trace the route of IP packets. |
218 | //config: | 217 | //config: |
diff --git a/networking/tunctl.c b/networking/tunctl.c index a0e3926e9..0f010e196 100644 --- a/networking/tunctl.c +++ b/networking/tunctl.c | |||
@@ -12,7 +12,6 @@ | |||
12 | //config:config TUNCTL | 12 | //config:config TUNCTL |
13 | //config: bool "tunctl (6.2 kb)" | 13 | //config: bool "tunctl (6.2 kb)" |
14 | //config: default y | 14 | //config: default y |
15 | //config: select PLATFORM_LINUX | ||
16 | //config: help | 15 | //config: help |
17 | //config: tunctl creates or deletes tun devices. | 16 | //config: tunctl creates or deletes tun devices. |
18 | //config: | 17 | //config: |
diff --git a/networking/udhcp/Config.src b/networking/udhcp/Config.src index 8ef24748e..7d04bb246 100644 --- a/networking/udhcp/Config.src +++ b/networking/udhcp/Config.src | |||
@@ -6,7 +6,6 @@ | |||
6 | config UDHCPD | 6 | config UDHCPD |
7 | bool "udhcpd (21 kb)" | 7 | bool "udhcpd (21 kb)" |
8 | default y | 8 | default y |
9 | select PLATFORM_LINUX | ||
10 | help | 9 | help |
11 | udhcpd is a DHCP server geared primarily toward embedded systems, | 10 | udhcpd is a DHCP server geared primarily toward embedded systems, |
12 | while striving to be fully functional and RFC compliant. | 11 | while striving to be fully functional and RFC compliant. |
@@ -62,7 +61,6 @@ config DHCPRELAY | |||
62 | config UDHCPC | 61 | config UDHCPC |
63 | bool "udhcpc (24 kb)" | 62 | bool "udhcpc (24 kb)" |
64 | default y | 63 | default y |
65 | select PLATFORM_LINUX | ||
66 | help | 64 | help |
67 | udhcpc is a DHCP client geared primarily toward embedded systems, | 65 | udhcpc is a DHCP client geared primarily toward embedded systems, |
68 | while striving to be fully functional and RFC compliant. | 66 | while striving to be fully functional and RFC compliant. |
diff --git a/networking/vconfig.c b/networking/vconfig.c index 3cc5f2460..4f1fbe280 100644 --- a/networking/vconfig.c +++ b/networking/vconfig.c | |||
@@ -9,7 +9,6 @@ | |||
9 | //config:config VCONFIG | 9 | //config:config VCONFIG |
10 | //config: bool "vconfig (2.3 kb)" | 10 | //config: bool "vconfig (2.3 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: select PLATFORM_LINUX | ||
13 | //config: help | 12 | //config: help |
14 | //config: Creates, removes, and configures VLAN interfaces | 13 | //config: Creates, removes, and configures VLAN interfaces |
15 | 14 | ||
diff --git a/networking/zcip.c b/networking/zcip.c index 134dfb2df..311dfbe4c 100644 --- a/networking/zcip.c +++ b/networking/zcip.c | |||
@@ -16,7 +16,6 @@ | |||
16 | //config:config ZCIP | 16 | //config:config ZCIP |
17 | //config: bool "zcip (8.4 kb)" | 17 | //config: bool "zcip (8.4 kb)" |
18 | //config: default y | 18 | //config: default y |
19 | //config: select PLATFORM_LINUX | ||
20 | //config: select FEATURE_SYSLOG | 19 | //config: select FEATURE_SYSLOG |
21 | //config: help | 20 | //config: help |
22 | //config: ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927. | 21 | //config: ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927. |