2014-08-09 04:06:42 +08:00
|
|
|
############################################################################
|
|
|
|
# sched/group/Make.defs
|
|
|
|
#
|
2024-09-11 19:45:11 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
2020-05-08 21:23:26 +08: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-09 04:06:42 +08:00
|
|
|
#
|
2020-05-08 21:23:26 +08:00
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
2014-08-09 04:06:42 +08:00
|
|
|
#
|
2020-05-08 21:23:26 +08: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-09 04:06:42 +08: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-30 04:52:05 +08:00
|
|
|
CSRCS += group_foreachchild.c group_killchildren.c group_signal.c
|
2014-08-09 04:06:42 +08:00
|
|
|
|
|
|
|
ifeq ($(CONFIG_SCHED_HAVE_PARENT),y)
|
|
|
|
ifeq ($(CONFIG_SCHED_CHILD_STATUS),y)
|
2014-10-07 21:42:36 +08:00
|
|
|
CSRCS += group_childstatus.c
|
2014-08-09 04:06:42 +08:00
|
|
|
endif
|
2015-12-23 01:48:17 +08:00
|
|
|
else
|
|
|
|
ifeq ($(CONFIG_SCHED_WAITPID),y)
|
|
|
|
CSRCS += group_waiter.c
|
|
|
|
endif
|
2014-08-09 04:06:42 +08:00
|
|
|
endif
|
|
|
|
|
2019-08-07 04:13:43 +08: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-07 04:13:43 +08:00
|
|
|
endif
|
|
|
|
|
2018-08-31 00:27:18 +08:00
|
|
|
ifeq ($(CONFIG_SIG_SIGSTOP_ACTION),y)
|
|
|
|
CSRCS += group_suspendchildren.c group_continue.c
|
|
|
|
endif
|
|
|
|
|
2018-08-05 22:09:54 +08:00
|
|
|
ifeq ($(CONFIG_BINFMT_LOADABLE),y)
|
|
|
|
CSRCS += group_exitinfo.c
|
|
|
|
endif
|
|
|
|
|
2023-01-12 02:32:05 +08:00
|
|
|
ifeq ($(CONFIG_MM_KERNEL_HEAP),y)
|
2022-02-23 18:23:21 +08:00
|
|
|
CSRCS += group_malloc.c group_realloc.c group_zalloc.c group_free.c
|
2014-09-04 03:49:35 +08:00
|
|
|
endif
|
|
|
|
|
2014-08-09 04:06:42 +08:00
|
|
|
# Include group build support
|
|
|
|
|
|
|
|
DEPPATH += --dep-path group
|
|
|
|
VPATH += :group
|