Some higher level SYSLOG features are disabled if the architecture-specific logic provides its own SYSLOG functionality

This commit is contained in:
Gregory Nutt 2016-06-19 09:21:52 -06:00
parent 3bd953316f
commit de58cb6027
3 changed files with 16 additions and 13 deletions

View File

@ -160,6 +160,7 @@ config ARMV7M_STACKCHECK
config ARMV7M_ITMSYSLOG
bool "ITM SYSLOG support"
default n
select ARCH_HAVE_SYSLOG
select SYSLOG
---help---
Enable hooks to support ITM syslog output. This requires additional

View File

@ -524,7 +524,4 @@ menuconfig DRIVERS_WIRELESS
Drivers for various wireless devices.
source drivers/wireless/Kconfig
comment "System Logging Device Options"
source drivers/syslog/Kconfig

View File

@ -5,6 +5,12 @@
comment "System Logging"
# Selected if the architecture has its own, built-in SYSLOGgin enabled
config ARCH_HAVE_SYSLOG
bool
default n
config RAMLOG
bool "RAM log device support"
default n
@ -23,7 +29,7 @@ if RAMLOG
config RAMLOG_SYSLOG
bool "Use RAMLOG for SYSLOG"
default n
depends on SYSLOG
depends on SYSLOG && !ARCH_HAVE_SYSLOG
---help---
Use the RAM logging device for the syslogging interface. If this feature
is enabled (along with SYSLOG), then all debug output (only) will be re-directed
@ -72,7 +78,13 @@ config RAMLOG_NPOLLWAITERS
endif
comment "System Logging"
config DRIVER_NOTE
bool "Scheduler instrumentation driver"
default n
depends on SCHED_INSTRUMENTATION_BUFFER
---help---
Enable building a serial driver that can be used by an application to read data
from the in-memory, scheduler instrumentatin "note" buffer.
config SYSLOG
bool "Advanced SYSLOG features"
@ -95,6 +107,7 @@ if SYSLOG
config SYSLOG_CHAR
bool "System log character device support"
default y
depends on !ARCH_HAVE_SYSLOG
---help---
Enable the generic character device for the SYSLOG. The full path to the
SYSLOG device is provided by SYSLOG_DEVPATH. A valid character device (or
@ -124,11 +137,3 @@ config SYSLOG_CONSOLE
output (syslog_putc). This is useful, for example, if the only console is a Telnet
console. Then in that case, console output from non-Telnet threads will go to
the syslog output.
config DRIVER_NOTE
bool "Scheduler instrumentation driver"
default n
depends on SCHED_INSTRUMENTATION_BUFFER
---help---
Enable building a serial driver that can be used by an application to read data
from the in-memory, scheduler instrumentatin "note" buffer.