diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-08-08 13:53:29 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-08-08 13:53:29 -0600 |
commit | 8e2b79c8ef31e80651c6a3513e7c957ccfe18085 (patch) | |
tree | d2e9887ab98ab4e6c35015c8940694452a97ffca /nuttx/sched/signal | |
parent | 6516afc61128cf7f407e63d9761d64061de0ce41 (diff) | |
download | px4-nuttx-8e2b79c8ef31e80651c6a3513e7c957ccfe18085.tar.gz px4-nuttx-8e2b79c8ef31e80651c6a3513e7c957ccfe18085.tar.bz2 px4-nuttx-8e2b79c8ef31e80651c6a3513e7c957ccfe18085.zip |
Move environment files from sched/ to sched/environ
Diffstat (limited to 'nuttx/sched/signal')
-rw-r--r-- | nuttx/sched/signal/Make.defs | 52 | ||||
-rw-r--r-- | nuttx/sched/signal/sig_deliver.c | 2 | ||||
-rw-r--r-- | nuttx/sched/signal/sig_dispatch.c | 2 |
3 files changed, 54 insertions, 2 deletions
diff --git a/nuttx/sched/signal/Make.defs b/nuttx/sched/signal/Make.defs new file mode 100644 index 000000000..d529d0e9b --- /dev/null +++ b/nuttx/sched/signal/Make.defs @@ -0,0 +1,52 @@ +############################################################################ +# sched/signal/Make.defs +# +# Copyright (C) 2014 Gregory Nutt. All rights reserved. +# Author: Gregory Nutt <gnutt@nuttx.org> +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in +# the documentation and/or other materials provided with the +# distribution. +# 3. Neither the name NuttX nor the names of its contributors may be +# used to endorse or promote products derived from this software +# without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS +# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED +# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. +# +############################################################################ + +ifneq ($(CONFIG_DISABLE_SIGNALS),y) + +SIGNAL_SRCS = sig_initialize.c +SIGNAL_SRCS += sig_action.c sig_procmask.c sig_pending.c sig_suspend.c +SIGNAL_SRCS += sig_kill.c sig_queue.c sig_waitinfo.c sig_timedwait.c +SIGNAL_SRCS += sig_findaction.c sig_allocatependingsigaction.c +SIGNAL_SRCS += sig_releasependingsigaction.c sig_unmaskpendingsignal.c +SIGNAL_SRCS += sig_removependingsignal.c sig_releasependingsignal.c sig_lowest.c +SIGNAL_SRCS += sig_mqnotempty.c sig_cleanup.c sig_dispatch.c sig_deliver.c +SIGNAL_SRCS += sig_pause.c + +# Include signal build support + +DEPPATH += --dep-path signal +VPATH += :signal + +endif diff --git a/nuttx/sched/signal/sig_deliver.c b/nuttx/sched/signal/sig_deliver.c index 442e6c61d..3a39a5d1f 100644 --- a/nuttx/sched/signal/sig_deliver.c +++ b/nuttx/sched/signal/sig_deliver.c @@ -48,7 +48,7 @@ #include <nuttx/arch.h> #include "os_internal.h" -#include "sem_internal.h" +#include "semaphore/semaphore.h" #include "signal/signal.h" /**************************************************************************** diff --git a/nuttx/sched/signal/sig_dispatch.c b/nuttx/sched/signal/sig_dispatch.c index af5339743..3697e8ee5 100644 --- a/nuttx/sched/signal/sig_dispatch.c +++ b/nuttx/sched/signal/sig_dispatch.c @@ -50,7 +50,7 @@ #include "os_internal.h" #include "group_internal.h" -#include "sem_internal.h" +#include "semaphore/semaphore.h" #include "signal/signal.h" #include "mqueue/mqueue.h" |