summaryrefslogtreecommitdiff
path: root/nuttx/fs/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/fs/Kconfig')
-rw-r--r--nuttx/fs/Kconfig23
1 files changed, 13 insertions, 10 deletions
diff --git a/nuttx/fs/Kconfig b/nuttx/fs/Kconfig
index ab03a2b64..e6647f516 100644
--- a/nuttx/fs/Kconfig
+++ b/nuttx/fs/Kconfig
@@ -24,23 +24,26 @@ config SYSLOG
---help---
Enables generic system logging features.
-config SYSLOG_DEVPATH
- string "System log device"
- default "/dev/syslog"
- depends on SYSLOG
- ---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")/
+if SYSLOG
config SYSLOG_CHAR
bool "System log character device support"
default y
- depends on 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
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