From 7032739efe90632e8f43492200790657dcf0d9f1 Mon Sep 17 00:00:00 2001 From: "chao.an" Date: Wed, 27 Jul 2022 11:35:36 +0800 Subject: [PATCH] sched/Makefile: move task_reparent.c to appropriate Makefile Signed-off-by: chao.an --- 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)