Move syslog back to libc/syslog from fs/syslog
This commit is contained in:
parent
d2c8e13ed5
commit
5815201cc2
@ -48,7 +48,6 @@ include vfs/Make.defs
|
|||||||
include driver/Make.defs
|
include driver/Make.defs
|
||||||
include dirent/Make.defs
|
include dirent/Make.defs
|
||||||
include aio/Make.defs
|
include aio/Make.defs
|
||||||
include syslog/Make.defs
|
|
||||||
include mmap/Make.defs
|
include mmap/Make.defs
|
||||||
|
|
||||||
# OS resources
|
# OS resources
|
||||||
|
@ -41,6 +41,14 @@ CSRCS += fs_registerdriver.c fs_unregisterdriver.c
|
|||||||
CSRCS += fs_registerblockdriver.c fs_unregisterblockdriver.c
|
CSRCS += fs_registerblockdriver.c fs_unregisterblockdriver.c
|
||||||
CSRCS += fs_findblockdriver.c fs_openblockdriver.c fs_closeblockdriver.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
|
# Include driver build support
|
||||||
|
|
||||||
DEPPATH += --dep-path driver
|
DEPPATH += --dep-path driver
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* fs/syslog/fs_devsyslog.c
|
* fs/driver/fs_devsyslog.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
@ -65,6 +65,7 @@ include stdio/Make.defs
|
|||||||
include stdlib/Make.defs
|
include stdlib/Make.defs
|
||||||
include unistd/Make.defs
|
include unistd/Make.defs
|
||||||
include sched/Make.defs
|
include sched/Make.defs
|
||||||
|
include syslog/Make.defs
|
||||||
include string/Make.defs
|
include string/Make.defs
|
||||||
include aio/Make.defs
|
include aio/Make.defs
|
||||||
include pthread/Make.defs
|
include pthread/Make.defs
|
||||||
|
@ -35,18 +35,10 @@
|
|||||||
|
|
||||||
# Add the internal C files to the build
|
# 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)
|
ifeq ($(CONFIG_SYSLOG),y)
|
||||||
CSRCS += fs_syslogstream.c
|
CSRCS += lib_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
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Add the syslog directory to the build
|
# Add the syslog directory to the build
|
@ -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.
|
* Copyright (C) 2007-2009, 2011-2012 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
@ -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.
|
* Copyright (C) 2007-2009, 2011-2012 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
@ -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.
|
* Copyright (C) 2007-2009, 2011-2014 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
Loading…
Reference in New Issue
Block a user