diff options
author | Ron Yorston | 2020-08-04 08:24:19 +0100 |
---|---|---|
committer | Denys Vlasenko | 2020-08-13 17:12:56 +0200 |
commit | 5c69ad0ecdc18cf51b312c7c82848f4438fe1c8d (patch) | |
tree | aeb911b86b6dab262429a8a9fa76bcdf697b02a3 /procps | |
parent | 9914d8b861a0edb42051bd68a37bceb0562daa70 (diff) | |
download | busybox-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 'procps')
-rw-r--r-- | procps/free.c | 1 | ||||
-rw-r--r-- | procps/ps.c | 1 | ||||
-rw-r--r-- | procps/uptime.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/procps/free.c b/procps/free.c index 1e5d367..b33506b 100644 --- a/procps/free.c +++ b/procps/free.c @@ -9,7 +9,6 @@ //config:config FREE //config: bool "free (3.1 kb)" //config: default y -//config: select PLATFORM_LINUX #sysinfo() //config: help //config: free displays the total amount of free and used physical and swap //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 815c115..48f9620 100644 --- a/procps/ps.c +++ b/procps/ps.c @@ -35,7 +35,6 @@ //config: bool "Enable -o time and -o etime specifiers" //config: default y //config: depends on (PS || MINIPS) && DESKTOP -//config: select PLATFORM_LINUX //config: //config:config FEATURE_PS_UNUSUAL_SYSTEMS //config: bool "Support Linux prior to 2.4.0 and non-ELF systems" diff --git a/procps/uptime.c b/procps/uptime.c index 3158127..4fd0c9d 100644 --- a/procps/uptime.c +++ b/procps/uptime.c @@ -14,7 +14,6 @@ //config:config UPTIME //config: bool "uptime (3.7 kb)" //config: default y -//config: select PLATFORM_LINUX #sysinfo() //config: help //config: uptime gives a one line display of the current time, how long //config: the system has been running, how many users are currently logged |