From 5c69ad0ecdc18cf51b312c7c82848f4438fe1c8d Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Tue, 4 Aug 2020 08:24:19 +0100 Subject: 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 Signed-off-by: Denys Vlasenko --- procps/free.c | 1 - procps/ps.c | 1 - procps/uptime.c | 1 - 3 files changed, 3 deletions(-) (limited to 'procps') 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 @@ //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 815c11578..48f96209f 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 31581271f..4fd0c9d2d 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 -- cgit v1.2.3