aboutsummaryrefslogtreecommitdiff
path: root/coreutils
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 /coreutils
parent9914d8b861a0edb42051bd68a37bceb0562daa70 (diff)
downloadbusybox-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 'coreutils')
-rw-r--r--coreutils/date.c1
-rw-r--r--coreutils/stat.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/coreutils/date.c b/coreutils/date.c
index b9b7fd2cb..d84e1c31a 100644
--- a/coreutils/date.c
+++ b/coreutils/date.c
@@ -37,7 +37,6 @@
//config: bool "Support %[num]N nanosecond format specifier"
//config: default n # stat's nanosecond field is a bit non-portable
//config: depends on DATE
-//config: select PLATFORM_LINUX
//config: help
//config: Support %[num]N format specifier. Adds ~250 bytes of code.
//config:
diff --git a/coreutils/stat.c b/coreutils/stat.c
index fa9ac7b10..8a23d687b 100644
--- a/coreutils/stat.c
+++ b/coreutils/stat.c
@@ -31,7 +31,6 @@
//config: bool "Enable display of filesystem status (-f)"
//config: default y
//config: depends on STAT
-//config: select PLATFORM_LINUX # statfs()
//config: help
//config: Without this, stat will not support the '-f' option to display
//config: information about filesystem status.