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 --- sysklogd/klogd.c | 1 - sysklogd/syslogd.c | 1 - 2 files changed, 2 deletions(-) (limited to 'sysklogd') diff --git a/sysklogd/klogd.c b/sysklogd/klogd.c index bdd0b63..c0ec1c0 100644 --- a/sysklogd/klogd.c +++ b/sysklogd/klogd.c @@ -33,7 +33,6 @@ //config: bool "Use the klogctl() interface" //config: default y //config: depends on KLOGD -//config: select PLATFORM_LINUX //config: help //config: The klogd applet supports two interfaces for reading //config: kernel messages. Linux provides the klogctl() interface diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c index ab50f4a..f61da9d 100644 --- a/sysklogd/syslogd.c +++ b/sysklogd/syslogd.c @@ -109,7 +109,6 @@ //config: bool "Linux kernel printk buffer support" //config: default y //config: depends on SYSLOGD -//config: select PLATFORM_LINUX //config: help //config: When you enable this feature, the syslogd utility will //config: write system log message to the Linux kernel's printk buffer. -- cgit v1.1