aboutsummaryrefslogtreecommitdiff
path: root/util-linux/blkdiscard.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/blkdiscard.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/blkdiscard.c')
-rw-r--r--util-linux/blkdiscard.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/util-linux/blkdiscard.c b/util-linux/blkdiscard.c
index a77c7d057..ff2101ed0 100644
--- a/util-linux/blkdiscard.c
+++ b/util-linux/blkdiscard.c
@@ -8,7 +8,6 @@
8//config:config BLKDISCARD 8//config:config BLKDISCARD
9//config: bool "blkdiscard (4.3 kb)" 9//config: bool "blkdiscard (4.3 kb)"
10//config: default y 10//config: default y
11//config: select PLATFORM_LINUX
12//config: help 11//config: help
13//config: blkdiscard discards sectors on a given device. 12//config: blkdiscard discards sectors on a given device.
14 13