aboutsummaryrefslogtreecommitdiff
path: root/procps
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 /procps
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 'procps')
-rw-r--r--procps/free.c1
-rw-r--r--procps/ps.c1
-rw-r--r--procps/uptime.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/procps/free.c b/procps/free.c
index 1e5d36742..b33506b9e 100644
--- a/procps/free.c
+++ b/procps/free.c
@@ -9,7 +9,6 @@
9//config:config FREE 9//config:config FREE
10//config: bool "free (3.1 kb)" 10//config: bool "free (3.1 kb)"
11//config: default y 11//config: default y
12//config: select PLATFORM_LINUX #sysinfo()
13//config: help 12//config: help
14//config: free displays the total amount of free and used physical and swap 13//config: free displays the total amount of free and used physical and swap
15//config: memory in the system, as well as the buffers used by the kernel. 14//config: memory in the system, as well as the buffers used by the kernel.
diff --git a/procps/ps.c b/procps/ps.c
index 815c11578..48f96209f 100644
--- a/procps/ps.c
+++ b/procps/ps.c
@@ -35,7 +35,6 @@
35//config: bool "Enable -o time and -o etime specifiers" 35//config: bool "Enable -o time and -o etime specifiers"
36//config: default y 36//config: default y
37//config: depends on (PS || MINIPS) && DESKTOP 37//config: depends on (PS || MINIPS) && DESKTOP
38//config: select PLATFORM_LINUX
39//config: 38//config:
40//config:config FEATURE_PS_UNUSUAL_SYSTEMS 39//config:config FEATURE_PS_UNUSUAL_SYSTEMS
41//config: bool "Support Linux prior to 2.4.0 and non-ELF systems" 40//config: bool "Support Linux prior to 2.4.0 and non-ELF systems"
diff --git a/procps/uptime.c b/procps/uptime.c
index 31581271f..4fd0c9d2d 100644
--- a/procps/uptime.c
+++ b/procps/uptime.c
@@ -14,7 +14,6 @@
14//config:config UPTIME 14//config:config UPTIME
15//config: bool "uptime (3.7 kb)" 15//config: bool "uptime (3.7 kb)"
16//config: default y 16//config: default y
17//config: select PLATFORM_LINUX #sysinfo()
18//config: help 17//config: help
19//config: uptime gives a one line display of the current time, how long 18//config: uptime gives a one line display of the current time, how long
20//config: the system has been running, how many users are currently logged 19//config: the system has been running, how many users are currently logged