summaryrefslogtreecommitdiff
path: root/nuttx/sched/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-18 01:52:42 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-18 01:52:42 +0000
commitc5aff7d2d81275f2023345b9e11ca5cacb34665b (patch)
tree1eae1d92a03b0a2cbd1e83b45704a24d8662cf17 /nuttx/sched/Makefile
parentc0ae392704e4e19f7c09fae1e753f777133afe8e (diff)
downloadpx4-nuttx-c5aff7d2d81275f2023345b9e11ca5cacb34665b.tar.gz
px4-nuttx-c5aff7d2d81275f2023345b9e11ca5cacb34665b.tar.bz2
px4-nuttx-c5aff7d2d81275f2023345b9e11ca5cacb34665b.zip
Add internal API task_reparent(), used in posix_spawn(). Move libc/spawn/lib_ps.c to sched/task_posixspawn.c; Move libc/spawn/spawn.h to include/nuttx/spawn.h
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5531 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/Makefile')
-rw-r--r--nuttx/sched/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/nuttx/sched/Makefile b/nuttx/sched/Makefile
index 3d6b58bac..73c67239e 100644
--- a/nuttx/sched/Makefile
+++ b/nuttx/sched/Makefile
@@ -48,7 +48,7 @@ TSK_SRCS = prctl.c task_create.c task_init.c task_setup.c task_activate.c \
task_restart.c task_vfork.c exit.c getpid.c sched_addreadytorun.c \
sched_removereadytorun.c sched_addprioritized.c sched_mergepending.c \
sched_addblocked.c sched_removeblocked.c sched_free.c sched_gettcb.c \
- sched_verifytcb.c sched_releasetcb.c
+ sched_verifytcb.c sched_releasetcb.c task_posixspawn.c
SCHED_SRCS = sched_setparam.c sched_setpriority.c sched_getparam.c \
sched_setscheduler.c sched_getscheduler.c \
@@ -67,6 +67,10 @@ ifeq ($(CONFIG_PRIORITY_INHERITANCE),y)
SCHED_SRCS += sched_reprioritize.c
endif
+ifeq ($(CONFIG_SCHED_HAVE_PARENT),y)
+SCHED_SRCS += task_reparent.c
+endif
+
ifeq ($(CONFIG_SCHED_WAITPID),y)
SCHED_SRCS += sched_waitpid.c
ifeq ($(CONFIG_SCHED_HAVE_PARENT),y)