summaryrefslogtreecommitdiff
path: root/util-linux/setarch.c
diff options
context:
space:
mode:
authorRon Yorston2020-08-04 08:24:19 +0100
committerDenys Vlasenko2020-08-13 17:12:56 +0200
commit5c69ad0ecdc18cf51b312c7c82848f4438fe1c8d (patch)
treeaeb911b86b6dab262429a8a9fa76bcdf697b02a3 /util-linux/setarch.c
parent9914d8b861a0edb42051bd68a37bceb0562daa70 (diff)
downloadbusybox-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 'util-linux/setarch.c')
-rw-r--r--util-linux/setarch.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/util-linux/setarch.c b/util-linux/setarch.c
index 57051a6..cf8ef00 100644
--- a/util-linux/setarch.c
+++ b/util-linux/setarch.c
@@ -9,7 +9,6 @@
//config:config SETARCH
//config: bool "setarch (3.6 kb)"
//config: default y
-//config: select PLATFORM_LINUX
//config: help
//config: The linux32 utility is used to create a 32bit environment for the
//config: specified program (usually a shell). It only makes sense to have
@@ -19,14 +18,12 @@
//config:config LINUX32
//config: bool "linux32 (3.3 kb)"
//config: default y
-//config: select PLATFORM_LINUX
//config: help
//config: Alias to "setarch linux32".
//config:
//config:config LINUX64
//config: bool "linux64 (3.3 kb)"
//config: default y
-//config: select PLATFORM_LINUX
//config: help
//config: Alias to "setarch linux64".