2014-08-08 14:06:42 -06:00
|
|
|
############################################################################
|
|
|
|
# sched/group/Make.defs
|
|
|
|
#
|
2020-05-08 07:23:26 -06: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 14:06:42 -06:00
|
|
|
#
|
2020-05-08 07:23:26 -06:00
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
2014-08-08 14:06:42 -06:00
|
|
|
#
|
2020-05-08 07:23:26 -06: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 14:06:42 -06:00
|
|
|
#
|
|
|
|
############################################################################
|
|
|
|
|
2024-03-05 10:23:30 +08:00
|
|
|
CSRCS += group_create.c group_join.c group_leave.c
|
2023-10-15 14:28:39 +08:00
|
|
|
CSRCS += group_setupidlefiles.c group_setuptaskfiles.c
|
2019-04-29 14:52:05 -06:00
|
|
|
CSRCS += group_foreachchild.c group_killchildren.c group_signal.c
|
2023-02-16 14:38:47 +02:00
|
|
|
CSRCS += group_argvstr.c
|
2014-08-08 14:06:42 -06:00
|
|
|
|
|
|
|
ifeq ($(CONFIG_SCHED_HAVE_PARENT),y)
|
|
|
|
ifeq ($(CONFIG_SCHED_CHILD_STATUS),y)
|
2014-10-07 07:42:36 -06:00
|
|
|
CSRCS += group_childstatus.c
|
2014-08-08 14:06:42 -06:00
|
|
|
endif
|
2015-12-22 11:48:17 -06:00
|
|
|
else
|
|
|
|
ifeq ($(CONFIG_SCHED_WAITPID),y)
|
|
|
|
CSRCS += group_waiter.c
|
|
|
|
endif
|
2014-08-08 14:06:42 -06:00
|
|
|
endif
|
|
|
|
|
2019-08-06 14:13:43 -06:00
|
|
|
ifeq ($(CONFIG_SCHED_USER_IDENTITY),y)
|
|
|
|
CSRCS += group_setuid.c group_setgid.c group_getuid.c group_getgid.c
|
2023-04-15 14:47:19 +08:00
|
|
|
CSRCS += group_seteuid.c group_setegid.c group_geteuid.c group_getegid.c
|
2019-08-06 14:13:43 -06:00
|
|
|
endif
|
|
|
|
|
2018-08-30 10:27:18 -06:00
|
|
|
ifeq ($(CONFIG_SIG_SIGSTOP_ACTION),y)
|
|
|
|
CSRCS += group_suspendchildren.c group_continue.c
|
|
|
|
endif
|
|
|
|
|
2018-08-05 08:09:54 -06:00
|
|
|
ifeq ($(CONFIG_BINFMT_LOADABLE),y)
|
|
|
|
CSRCS += group_exitinfo.c
|
|
|
|
endif
|
|
|
|
|
2023-01-11 15:32:05 -03:00
|
|
|
ifeq ($(CONFIG_MM_KERNEL_HEAP),y)
|
2022-02-23 12:23:21 +02:00
|
|
|
CSRCS += group_malloc.c group_realloc.c group_zalloc.c group_free.c
|
2014-09-03 13:49:35 -06:00
|
|
|
endif
|
|
|
|
|
2014-08-08 14:06:42 -06:00
|
|
|
# Include group build support
|
|
|
|
|
|
|
|
DEPPATH += --dep-path group
|
|
|
|
VPATH += :group
|