diff options
author | Ron Yorston <rmy@pobox.com> | 2020-08-04 08:24:19 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2020-08-13 17:12:56 +0200 |
commit | 5c69ad0ecdc18cf51b312c7c82848f4438fe1c8d (patch) | |
tree | aeb911b86b6dab262429a8a9fa76bcdf697b02a3 /util-linux/switch_root.c | |
parent | 9914d8b861a0edb42051bd68a37bceb0562daa70 (diff) | |
download | busybox-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/switch_root.c')
-rw-r--r-- | util-linux/switch_root.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/util-linux/switch_root.c b/util-linux/switch_root.c index a483893ed..c65096c27 100644 --- a/util-linux/switch_root.c +++ b/util-linux/switch_root.c | |||
@@ -9,7 +9,6 @@ | |||
9 | //config:config SWITCH_ROOT | 9 | //config:config SWITCH_ROOT |
10 | //config: bool "switch_root (5.5 kb)" | 10 | //config: bool "switch_root (5.5 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: select PLATFORM_LINUX | ||
13 | //config: help | 12 | //config: help |
14 | //config: The switch_root utility is used from initramfs to select a new | 13 | //config: The switch_root utility is used from initramfs to select a new |
15 | //config: root device. Under initramfs, you have to use this instead of | 14 | //config: root device. Under initramfs, you have to use this instead of |