2014-08-08 22:06:42 +02:00
|
|
|
############################################################################
|
|
|
|
# sched/group/Make.defs
|
|
|
|
#
|
2024-09-11 13:45:11 +02:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
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
|
|
|
#
|
|
|
|
############################################################################
|
|
|
|
|
2024-03-05 03:23:30 +01:00
|
|
|
CSRCS += group_create.c group_join.c group_leave.c
|
2023-10-15 08:28:39 +02:00
|
|
|
CSRCS += group_setupidlefiles.c group_setuptaskfiles.c
|
2019-04-29 22:52:05 +02:00
|
|
|
CSRCS += group_foreachchild.c group_killchildren.c group_signal.c
|
2023-02-16 13:38:47 +01:00
|
|
|
CSRCS += group_argvstr.c
|
2014-08-08 22:06:42 +02:00
|
|
|
|
|
|
|
ifeq ($(CONFIG_SCHED_HAVE_PARENT),y)
|
|
|
|
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
|
2023-04-15 08:47:19 +02:00
|
|
|
CSRCS += group_seteuid.c group_setegid.c group_geteuid.c group_getegid.c
|
2019-08-06 22:13:43 +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
|
|
|
|
|
2023-01-11 19:32:05 +01:00
|
|
|
ifeq ($(CONFIG_MM_KERNEL_HEAP),y)
|
2022-02-23 11:23:21 +01:00
|
|
|
CSRCS += group_malloc.c group_realloc.c group_zalloc.c group_free.c
|
2014-09-03 21:49:35 +02:00
|
|
|
endif
|
|
|
|
|
2014-08-08 22:06:42 +02:00
|
|
|
# Include group build support
|
|
|
|
|
|
|
|
DEPPATH += --dep-path group
|
|
|
|
VPATH += :group
|