aboutsummaryrefslogtreecommitdiff
path: root/util-linux/setarch.c
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 /util-linux/setarch.c
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 '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 57051a683..cf8ef0064 100644
--- a/util-linux/setarch.c
+++ b/util-linux/setarch.c
@@ -9,7 +9,6 @@
9//config:config SETARCH 9//config:config SETARCH
10//config: bool "setarch (3.6 kb)" 10//config: bool "setarch (3.6 kb)"
11//config: default y 11//config: default y
12//config: select PLATFORM_LINUX
13//config: help 12//config: help
14//config: The linux32 utility is used to create a 32bit environment for the 13//config: The linux32 utility is used to create a 32bit environment for the
15//config: specified program (usually a shell). It only makes sense to have 14//config: specified program (usually a shell). It only makes sense to have
@@ -19,14 +18,12 @@
19//config:config LINUX32 18//config:config LINUX32
20//config: bool "linux32 (3.3 kb)" 19//config: bool "linux32 (3.3 kb)"
21//config: default y 20//config: default y
22//config: select PLATFORM_LINUX
23//config: help 21//config: help
24//config: Alias to "setarch linux32". 22//config: Alias to "setarch linux32".
25//config: 23//config:
26//config:config LINUX64 24//config:config LINUX64
27//config: bool "linux64 (3.3 kb)" 25//config: bool "linux64 (3.3 kb)"
28//config: default y 26//config: default y
29//config: select PLATFORM_LINUX
30//config: help 27//config: help
31//config: Alias to "setarch linux64". 28//config: Alias to "setarch linux64".
32 29