From 5c69ad0ecdc18cf51b312c7c82848f4438fe1c8d Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Tue, 4 Aug 2020 08:24:19 +0100 Subject: 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 Signed-off-by: Denys Vlasenko --- util-linux/freeramdisk.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'util-linux/freeramdisk.c') diff --git a/util-linux/freeramdisk.c b/util-linux/freeramdisk.c index d27113d97..309169d25 100644 --- a/util-linux/freeramdisk.c +++ b/util-linux/freeramdisk.c @@ -11,7 +11,6 @@ //config:config FDFLUSH //config: bool "fdflush (1.3 kb)" //config: default y -//config: select PLATFORM_LINUX //config: help //config: fdflush is only needed when changing media on slightly-broken //config: removable media drives. It is used to make Linux believe that a @@ -24,7 +23,6 @@ //config:config FREERAMDISK //config: bool "freeramdisk (1.3 kb)" //config: default y -//config: select PLATFORM_LINUX //config: help //config: Linux allows you to create ramdisks. This utility allows you to //config: delete them and completely free all memory that was used for the -- cgit v1.2.3