2014-08-08 22:06:42 +02:00
|
|
|
############################################################################
|
|
|
|
# sched/group/Make.defs
|
|
|
|
#
|
2020-05-08 15:23:26 +02:00
|
|
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
# contributor license agreements. See the NOTICE file distributed with
|
|
|
|
# this work for additional information regarding copyright ownership. The
|
|
|
|
# ASF licenses this file to you under the Apache License, Version 2.0 (the
|
|
|
|
# "License"); you may not use this file except in compliance with the
|
|
|
|
# License. You may obtain a copy of the License at
|
2014-08-08 22:06:42 +02:00
|
|
|
#
|
2020-05-08 15:23:26 +02:00
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
2014-08-08 22:06:42 +02:00
|
|
|
#
|
2020-05-08 15:23:26 +02:00
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
|
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
|
|
# License for the specific language governing permissions and limitations
|
|
|
|
# under the License.
|
2014-08-08 22:06:42 +02:00
|
|
|
#
|
|
|
|
############################################################################
|
|
|
|
|
2014-10-07 15:42:36 +02:00
|
|
|
CSRCS += group_create.c group_join.c group_leave.c group_find.c
|
|
|
|
CSRCS += group_setupstreams.c group_setupidlefiles.c group_setuptaskfiles.c
|
2019-04-29 22:52:05 +02:00
|
|
|
CSRCS += group_foreachchild.c group_killchildren.c group_signal.c
|
2014-08-08 22:06:42 +02:00
|
|
|
|
|
|
|
ifeq ($(CONFIG_SCHED_HAVE_PARENT),y)
|
2014-10-07 15:42:36 +02:00
|
|
|
CSRCS += task_reparent.c
|
2014-08-08 22:06:42 +02:00
|
|
|
ifeq ($(CONFIG_SCHED_CHILD_STATUS),y)
|
2014-10-07 15:42:36 +02:00
|
|
|
CSRCS += group_childstatus.c
|
2014-08-08 22:06:42 +02:00
|
|
|
endif
|
2015-12-22 18:48:17 +01:00
|
|
|
else
|
|
|
|
ifeq ($(CONFIG_SCHED_WAITPID),y)
|
|
|
|
CSRCS += group_waiter.c
|
|
|
|
endif
|
2014-08-08 22:06:42 +02:00
|
|
|
endif
|
|
|
|
|
2019-08-06 22:13:43 +02:00
|
|
|
ifeq ($(CONFIG_SCHED_USER_IDENTITY),y)
|
|
|
|
CSRCS += group_setuid.c group_setgid.c group_getuid.c group_getgid.c
|
|
|
|
endif
|
|
|
|
|
2014-08-26 22:54:39 +02:00
|
|
|
ifeq ($(CONFIG_ARCH_ADDRENV),y)
|
2014-10-07 15:42:36 +02:00
|
|
|
CSRCS += group_addrenv.c
|
2014-08-26 22:54:39 +02:00
|
|
|
endif
|
|
|
|
|
2018-08-30 18:27:18 +02:00
|
|
|
ifeq ($(CONFIG_SIG_SIGSTOP_ACTION),y)
|
|
|
|
CSRCS += group_suspendchildren.c group_continue.c
|
|
|
|
endif
|
|
|
|
|
2018-08-05 16:09:54 +02:00
|
|
|
ifeq ($(CONFIG_BINFMT_LOADABLE),y)
|
|
|
|
CSRCS += group_exitinfo.c
|
|
|
|
endif
|
|
|
|
|
2020-04-29 21:21:23 +02:00
|
|
|
ifneq ($(CONFIG_BUILD_FLAT),y)
|
2014-10-07 15:42:36 +02:00
|
|
|
CSRCS += group_malloc.c group_zalloc.c group_free.c
|
2014-09-03 21:49:35 +02:00
|
|
|
endif
|
|
|
|
|
2020-05-08 15:23:26 +02:00
|
|
|
ifneq ($(CONFIG_TLS_NELEM),0)
|
|
|
|
CSRCS += group_tlsalloc.c group_tlsfree.c
|
|
|
|
endif
|
|
|
|
|
2014-08-08 22:06:42 +02:00
|
|
|
# Include group build support
|
|
|
|
|
|
|
|
DEPPATH += --dep-path group
|
|
|
|
VPATH += :group
|