Move syslog back to libc/syslog from fs/syslog

This commit is contained in:
Gregory Nutt 2014-10-09 07:08:36 -06:00
parent d2c8e13ed5
commit 5815201cc2
10 changed files with 15 additions and 15 deletions

View File

@ -48,7 +48,6 @@ include vfs/Make.defs
include driver/Make.defs
include dirent/Make.defs
include aio/Make.defs
include syslog/Make.defs
include mmap/Make.defs
# OS resources

View File

@ -41,6 +41,14 @@ CSRCS += fs_registerdriver.c fs_unregisterdriver.c
CSRCS += fs_registerblockdriver.c fs_unregisterblockdriver.c
CSRCS += fs_findblockdriver.c fs_openblockdriver.c fs_closeblockdriver.c
# 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

View File

@ -1,5 +1,5 @@
/****************************************************************************
* fs/syslog/fs_devsyslog.c
* fs/driver/fs_devsyslog.c
*
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -65,6 +65,7 @@ include stdio/Make.defs
include stdlib/Make.defs
include unistd/Make.defs
include sched/Make.defs
include syslog/Make.defs
include string/Make.defs
include aio/Make.defs
include pthread/Make.defs

View File

@ -35,18 +35,10 @@
# Add the internal C files to the build
CSRCS += fs_syslog.c fs_lowsyslog.c fs_setlogmask.c
CSRCS += lib_syslog.c lib_lowsyslog.c lib_setlogmask.c
ifeq ($(CONFIG_SYSLOG),y)
CSRCS += fs_syslogstream.c
endif
# System logging to a character device (or file)
ifeq ($(CONFIG_SYSLOG),y)
ifeq ($(CONFIG_SYSLOG_CHAR),y)
CSRCS += fs_devsyslog.c
endif
CSRCS += lib_syslogstream.c
endif
# Add the syslog directory to the build

View File

@ -1,5 +1,5 @@
/****************************************************************************
* fs/syslog/fs_lowsyslog.c
* lib/syslog/lib_lowsyslog.c
*
* Copyright (C) 2007-2009, 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* fs/syslog/fs_setlogmask.c
* lib/syslog/lib_setlogmask.c
*
* Copyright (C) 2007-2009, 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* libc/syslog/fs_syslog.c
* libc/syslog/lib_syslog.c
*
* Copyright (C) 2007-2009, 2011-2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>