aboutsummaryrefslogtreecommitdiff
path: root/networking/ip.c
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2020-08-04 08:24:19 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2020-08-13 17:12:56 +0200
commit5c69ad0ecdc18cf51b312c7c82848f4438fe1c8d (patch)
treeaeb911b86b6dab262429a8a9fa76bcdf697b02a3 /networking/ip.c
parent9914d8b861a0edb42051bd68a37bceb0562daa70 (diff)
downloadbusybox-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/ip.c')
-rw-r--r--networking/ip.c7
1 files changed, 0 insertions, 7 deletions
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: