You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2022/07/27 15:22:43 UTC
[incubator-nuttx] branch master updated: sched/Makefile: move task_reparent.c to appropriate Makefile
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 7032739efe sched/Makefile: move task_reparent.c to appropriate Makefile
7032739efe is described below
commit 7032739efe90632e8f43492200790657dcf0d9f1
Author: chao.an <an...@xiaomi.com>
AuthorDate: Wed Jul 27 11:35:36 2022 +0800
sched/Makefile: move task_reparent.c to appropriate Makefile
Signed-off-by: chao.an <an...@xiaomi.com>
---
sched/group/Make.defs | 1 -
sched/task/Make.defs | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/sched/group/Make.defs b/sched/group/Make.defs
index 0fbc28183b..125ca7eefc 100644
--- a/sched/group/Make.defs
+++ b/sched/group/Make.defs
@@ -23,7 +23,6 @@ CSRCS += group_setupstreams.c group_setupidlefiles.c group_setuptaskfiles.c
CSRCS += group_foreachchild.c group_killchildren.c group_signal.c
ifeq ($(CONFIG_SCHED_HAVE_PARENT),y)
-CSRCS += task_reparent.c
ifeq ($(CONFIG_SCHED_CHILD_STATUS),y)
CSRCS += group_childstatus.c
endif
diff --git a/sched/task/Make.defs b/sched/task/Make.defs
index a3a3f34993..71fc566b03 100644
--- a/sched/task/Make.defs
+++ b/sched/task/Make.defs
@@ -26,7 +26,7 @@ CSRCS += task_cancelpt.c task_terminate.c task_gettid.c exit.c
CSRCS += task_tls_alloc.c
ifeq ($(CONFIG_SCHED_HAVE_PARENT),y)
-CSRCS += task_getppid.c
+CSRCS += task_getppid.c task_reparent.c
endif
ifeq ($(CONFIG_ARCH_HAVE_VFORK),y)