Add CONFIG_FEATURE_SYSLOG which controls whether
bb_xx_msg will ever try to send output to syslog. Add "select CONFIG_FEATURE_SYSLOG" to relevant applets. This allows to omit syslog code if we do not have any syslog-capable applets in the build.
This commit is contained in:
@@ -89,6 +89,7 @@ config CONFIG_KLOGD
|
||||
bool "klogd"
|
||||
default n
|
||||
depends on CONFIG_SYSLOGD
|
||||
select CONFIG_FEATURE_SYSLOG
|
||||
help
|
||||
klogd is a utility which intercepts and logs all
|
||||
messages from the Linux kernel and sends the messages
|
||||
@@ -99,6 +100,7 @@ config CONFIG_KLOGD
|
||||
config CONFIG_LOGGER
|
||||
bool "logger"
|
||||
default n
|
||||
select CONFIG_FEATURE_SYSLOG
|
||||
help
|
||||
The logger utility allows you to send arbitrary text
|
||||
messages to the system log (i.e. the 'syslogd' utility) so
|
||||
|
Reference in New Issue
Block a user