summaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorRon Yorston2020-08-04 08:24:19 +0100
committerDenys Vlasenko2020-08-13 17:12:56 +0200
commit5c69ad0ecdc18cf51b312c7c82848f4438fe1c8d (patch)
treeaeb911b86b6dab262429a8a9fa76bcdf697b02a3 /networking
parent9914d8b861a0edb42051bd68a37bceb0562daa70 (diff)
downloadbusybox-5c69ad0ecdc18cf51b312c7c82848f4438fe1c8d.zip
busybox-5c69ad0ecdc18cf51b312c7c82848f4438fe1c8d.tar.gz
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.c1
-rw-r--r--networking/arping.c1
-rw-r--r--networking/brctl.c1
-rw-r--r--networking/ether-wake.c1
-rw-r--r--networking/ifconfig.c1
-rw-r--r--networking/ifenslave.c1
-rw-r--r--networking/ifplugd.c1
-rw-r--r--networking/ip.c7
-rw-r--r--networking/nameif.c1
-rw-r--r--networking/netstat.c1
-rw-r--r--networking/ntpd.c1
-rw-r--r--networking/ping.c1
-rw-r--r--networking/route.c1
-rw-r--r--networking/slattach.c1
-rw-r--r--networking/traceroute.c1
-rw-r--r--networking/tunctl.c1
-rw-r--r--networking/udhcp/Config.src2
-rw-r--r--networking/vconfig.c1
-rw-r--r--networking/zcip.c1
19 files changed, 0 insertions, 26 deletions
diff --git a/networking/arp.c b/networking/arp.c
index 6519f81..16783ab 100644
--- a/networking/arp.c
+++ b/networking/arp.c
@@ -15,7 +15,6 @@
//config:config ARP
//config: bool "arp (10 kb)"
//config: default y
-//config: select PLATFORM_LINUX
//config: help
//config: Manipulate the system ARP cache.
diff --git a/networking/arping.c b/networking/arping.c
index 2a256aa..d44d7d6 100644
--- a/networking/arping.c
+++ b/networking/arping.c
@@ -8,7 +8,6 @@
//config:config ARPING
//config: bool "arping (9 kb)"
//config: default y
-//config: select PLATFORM_LINUX
//config: help
//config: Ping hosts by ARP packets.
diff --git a/networking/brctl.c b/networking/brctl.c
index 2f4ac4a..f057f9b 100644
--- a/networking/brctl.c
+++ b/networking/brctl.c
@@ -12,7 +12,6 @@
//config:config BRCTL
//config: bool "brctl (4.7 kb)"
//config: default y
-//config: select PLATFORM_LINUX
//config: help
//config: Manage ethernet bridges.
//config: Supports addbr/delbr and addif/delif.
diff --git a/networking/ether-wake.c b/networking/ether-wake.c
index f45d436..36e90ac 100644
--- a/networking/ether-wake.c
+++ b/networking/ether-wake.c
@@ -66,7 +66,6 @@
//config:config ETHER_WAKE
//config: bool "ether-wake (4.9 kb)"
//config: default y
-//config: select PLATFORM_LINUX
//config: help
//config: Send a magic packet to wake up sleeping machines.
diff --git a/networking/ifconfig.c b/networking/ifconfig.c
index b566d91..3c9a2df 100644
--- a/networking/ifconfig.c
+++ b/networking/ifconfig.c
@@ -27,7 +27,6 @@
//config:config IFCONFIG
//config: bool "ifconfig (12 kb)"
//config: default y
-//config: select PLATFORM_LINUX
//config: help
//config: Ifconfig is used to configure the kernel-resident network interfaces.
//config:
diff --git a/networking/ifenslave.c b/networking/ifenslave.c
index 5e769b6..bdb9894 100644
--- a/networking/ifenslave.c
+++ b/networking/ifenslave.c
@@ -100,7 +100,6 @@
//config:config IFENSLAVE
//config: bool "ifenslave (13 kb)"
//config: default y
-//config: select PLATFORM_LINUX
//config: help
//config: Userspace application to bind several interfaces
//config: to a logical interface (use with kernel bonding driver).
diff --git a/networking/ifplugd.c b/networking/ifplugd.c
index fa18edd..0d17b7d 100644
--- a/networking/ifplugd.c
+++ b/networking/ifplugd.c
@@ -9,7 +9,6 @@
//config:config IFPLUGD
//config: bool "ifplugd (10 kb)"
//config: default y
-//config: select PLATFORM_LINUX
//config: help
//config: Network interface plug detection daemon.
diff --git a/networking/ip.c b/networking/ip.c
index 45bf1dc..7d3faf7 100644
--- a/networking/ip.c
+++ b/networking/ip.c
@@ -11,7 +11,6 @@
//config:config IP
//config: bool "ip (35 kb)"
//config: default y
-//config: select PLATFORM_LINUX
//config: help
//config: The "ip" applet is a TCP/IP interface configuration and routing
//config: utility.
@@ -23,7 +22,6 @@
//config: bool "ipaddr (14 kb)"
//config: default y
//config: select FEATURE_IP_ADDRESS
-//config: select PLATFORM_LINUX
//config: help
//config: Short form of "ip addr"
//config:
@@ -31,7 +29,6 @@
//config: bool "iplink (17 kb)"
//config: default y
//config: select FEATURE_IP_LINK
-//config: select PLATFORM_LINUX
//config: help
//config: Short form of "ip link"
//config:
@@ -39,7 +36,6 @@
//config: bool "iproute (15 kb)"
//config: default y
//config: select FEATURE_IP_ROUTE
-//config: select PLATFORM_LINUX
//config: help
//config: Short form of "ip route"
//config:
@@ -47,7 +43,6 @@
//config: bool "iptunnel (9.6 kb)"
//config: default y
//config: select FEATURE_IP_TUNNEL
-//config: select PLATFORM_LINUX
//config: help
//config: Short form of "ip tunnel"
//config:
@@ -55,7 +50,6 @@
//config: bool "iprule (10 kb)"
//config: default y
//config: select FEATURE_IP_RULE
-//config: select PLATFORM_LINUX
//config: help
//config: Short form of "ip rule"
//config:
@@ -63,7 +57,6 @@
//config: bool "ipneigh (8.3 kb)"
//config: default y
//config: select FEATURE_IP_NEIGH
-//config: select PLATFORM_LINUX
//config: help
//config: Short form of "ip neigh"
//config:
diff --git a/networking/nameif.c b/networking/nameif.c
index 91d5053..854594c 100644
--- a/networking/nameif.c
+++ b/networking/nameif.c
@@ -12,7 +12,6 @@
//config:config NAMEIF
//config: bool "nameif (6.6 kb)"
//config: default y
-//config: select PLATFORM_LINUX
//config: select FEATURE_SYSLOG
//config: help
//config: nameif is used to rename network interface by its MAC address.
diff --git a/networking/netstat.c b/networking/netstat.c
index c793442..936610f 100644
--- a/networking/netstat.c
+++ b/networking/netstat.c
@@ -16,7 +16,6 @@
//config:config NETSTAT
//config: bool "netstat (10 kb)"
//config: default y
-//config: select PLATFORM_LINUX
//config: help
//config: netstat prints information about the Linux networking subsystem.
//config:
diff --git a/networking/ntpd.c b/networking/ntpd.c
index b08de50..d721fe8 100644
--- a/networking/ntpd.c
+++ b/networking/ntpd.c
@@ -43,7 +43,6 @@
//config:config NTPD
//config: bool "ntpd (22 kb)"
//config: default y
-//config: select PLATFORM_LINUX
//config: help
//config: The NTP client/server daemon.
//config:
diff --git a/networking/ping.c b/networking/ping.c
index a47342f..47b6ab1 100644
--- a/networking/ping.c
+++ b/networking/ping.c
@@ -27,7 +27,6 @@
//config:config PING
//config: bool "ping (10 kb)"
//config: default y
-//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/route.c b/networking/route.c
index e785b1d..4d9aad6 100644
--- a/networking/route.c
+++ b/networking/route.c
@@ -27,7 +27,6 @@
//config:config ROUTE
//config: bool "route (8.7 kb)"
//config: default y
-//config: select PLATFORM_LINUX
//config: help
//config: Route displays or manipulates the kernel's IP routing tables.
diff --git a/networking/slattach.c b/networking/slattach.c
index 659822a..51fbc1f 100644
--- a/networking/slattach.c
+++ b/networking/slattach.c
@@ -15,7 +15,6 @@
//config:config SLATTACH
//config: bool "slattach (6.2 kb)"
//config: default y
-//config: select PLATFORM_LINUX
//config: help
//config: slattach configures serial line as SLIP network interface.
diff --git a/networking/traceroute.c b/networking/traceroute.c
index 06d3f19..5068f65 100644
--- a/networking/traceroute.c
+++ b/networking/traceroute.c
@@ -212,7 +212,6 @@
//config:config TRACEROUTE
//config: bool "traceroute (11 kb)"
//config: default y
-//config: select PLATFORM_LINUX
//config: help
//config: Utility to trace the route of IP packets.
//config:
diff --git a/networking/tunctl.c b/networking/tunctl.c
index a0e3926..0f010e1 100644
--- a/networking/tunctl.c
+++ b/networking/tunctl.c
@@ -12,7 +12,6 @@
//config:config TUNCTL
//config: bool "tunctl (6.2 kb)"
//config: default y
-//config: select PLATFORM_LINUX
//config: help
//config: tunctl creates or deletes tun devices.
//config:
diff --git a/networking/udhcp/Config.src b/networking/udhcp/Config.src
index 8ef2474..7d04bb2 100644
--- a/networking/udhcp/Config.src
+++ b/networking/udhcp/Config.src
@@ -6,7 +6,6 @@
config UDHCPD
bool "udhcpd (21 kb)"
default y
- select PLATFORM_LINUX
help
udhcpd is a DHCP server geared primarily toward embedded systems,
while striving to be fully functional and RFC compliant.
@@ -62,7 +61,6 @@ config DHCPRELAY
config UDHCPC
bool "udhcpc (24 kb)"
default y
- select PLATFORM_LINUX
help
udhcpc is a DHCP client geared primarily toward embedded systems,
while striving to be fully functional and RFC compliant.
diff --git a/networking/vconfig.c b/networking/vconfig.c
index 3cc5f24..4f1fbe2 100644
--- a/networking/vconfig.c
+++ b/networking/vconfig.c
@@ -9,7 +9,6 @@
//config:config VCONFIG
//config: bool "vconfig (2.3 kb)"
//config: default y
-//config: select PLATFORM_LINUX
//config: help
//config: Creates, removes, and configures VLAN interfaces
diff --git a/networking/zcip.c b/networking/zcip.c
index 134dfb2..311dfbe 100644
--- a/networking/zcip.c
+++ b/networking/zcip.c
@@ -16,7 +16,6 @@
//config:config ZCIP
//config: bool "zcip (8.4 kb)"
//config: default y
-//config: select PLATFORM_LINUX
//config: select FEATURE_SYSLOG
//config: help
//config: ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927.