summaryrefslogtreecommitdiff
path: root/nuttx/sched/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/sched/Makefile')
-rw-r--r--nuttx/sched/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/nuttx/sched/Makefile b/nuttx/sched/Makefile
index 38d3e047f..1ad244450 100644
--- a/nuttx/sched/Makefile
+++ b/nuttx/sched/Makefile
@@ -74,7 +74,10 @@ SCHED_SRCS += sched_reprioritize.c
endif
ifeq ($(CONFIG_SCHED_HAVE_PARENT),y)
-SCHED_SRCS += task_reparent.c
+SCHED_SRCS += task_reparent.c
+ifeq ($(CONFIG_SCHED_CHILD_STATUS),y)
+SCHED_SRCS += task_childstatus.c
+endif
endif
ifeq ($(CONFIG_SCHED_WAITPID),y)