mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
Move fs/drivers/fs_devsyslog.c to drivers/syslog/syslog_device.c
This commit is contained in:
-42
@@ -74,45 +74,3 @@ source fs/binfs/Kconfig
|
||||
source fs/procfs/Kconfig
|
||||
source fs/unionfs/Kconfig
|
||||
source fs/hostfs/Kconfig
|
||||
|
||||
comment "System Logging"
|
||||
|
||||
config SYSLOG
|
||||
bool "Advanced SYSLOG features"
|
||||
default n
|
||||
---help---
|
||||
Enables generic system logging features. NOTE: This setting is not
|
||||
required to enable system logging. If this feature is not enable
|
||||
system logging will still be available and will log to the system
|
||||
console (like printf()). This setting is required to enable
|
||||
customization of the basic system loggin capability.
|
||||
|
||||
config SYSLOG_TIMESTAMP
|
||||
bool "Prepend timestamp to syslog message"
|
||||
default n
|
||||
---help---
|
||||
Prepend timestamp to syslog message.
|
||||
|
||||
if SYSLOG
|
||||
|
||||
config SYSLOG_CHAR
|
||||
bool "System log character device support"
|
||||
default y
|
||||
---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
|
||||
file) must exist at this path. It will by opened by syslog_initialize.
|
||||
|
||||
Do not enable more than one SYSLOG device.
|
||||
|
||||
config SYSLOG_DEVPATH
|
||||
string "System log device"
|
||||
default "/dev/syslog"
|
||||
depends on SYSLOG_CHAR
|
||||
---help---
|
||||
The full path to the system logging device. For the RAMLOG SYSLOG device,
|
||||
this is normally "/dev/ramlog". For character SYSLOG devices, it should be
|
||||
some other existing character device (or file) supported by the configuration
|
||||
(such as "/dev/ttyS1")/
|
||||
|
||||
endif
|
||||
|
||||
@@ -50,14 +50,6 @@ CSRCS += fs_blockproxy.c
|
||||
endif
|
||||
endif
|
||||
|
||||
# System logging to a character device (or file)
|
||||
|
||||
ifeq ($(CONFIG_SYSLOG),y)
|
||||
ifeq ($(CONFIG_SYSLOG_CHAR),y)
|
||||
CSRCS += fs_devsyslog.c
|
||||
endif
|
||||
endif
|
||||
|
||||
# Include driver build support
|
||||
|
||||
DEPPATH += --dep-path driver
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user