1f08c3bdfSopenharmony_ci# SPDX-License-Identifier: GPL-2.0-or-later
2f08c3bdfSopenharmony_ci#    testcases/kernel/syscalls Makefile.
3f08c3bdfSopenharmony_ci#
4f08c3bdfSopenharmony_ci#    Copyright (C) 2009, Cisco Systems Inc.
5f08c3bdfSopenharmony_ci#
6f08c3bdfSopenharmony_ci# Ngie Cooper, July 2009
7f08c3bdfSopenharmony_ci#
8f08c3bdfSopenharmony_ci
9f08c3bdfSopenharmony_citop_srcdir		?= ../../..
10f08c3bdfSopenharmony_ci
11f08c3bdfSopenharmony_ciinclude	$(top_srcdir)/include/mk/env_pre.mk
12f08c3bdfSopenharmony_ci
13f08c3bdfSopenharmony_ciifeq ($(UCLINUX),1)
14f08c3bdfSopenharmony_ciFILTER_OUT_DIRS	+= capget capset chmod chown clone fork getcontext llseek \
15f08c3bdfSopenharmony_ci		   mincore mprotect nftw profil remap_file_pages sbrk
16f08c3bdfSopenharmony_ciendif
17f08c3bdfSopenharmony_ci
18f08c3bdfSopenharmony_ciifeq ($(UCLIBC),1)
19f08c3bdfSopenharmony_ciFILTER_OUT_DIRS	+= profil
20f08c3bdfSopenharmony_ciendif
21f08c3bdfSopenharmony_ci
22f08c3bdfSopenharmony_ciifeq ($(ANDROID), 1)
23f08c3bdfSopenharmony_ciFILTER_OUT_DIRS	+= \
24f08c3bdfSopenharmony_ci	accept4 adjtimex cma confstr fcntl fmtmsg futex getcontext getcpu \
25f08c3bdfSopenharmony_ci	getdomainname getdtablesize gethostid getgroups get_mempolicy ipc \
26f08c3bdfSopenharmony_ci	linkat kill mallopt memmap mq_notify mq_open mq_timedreceive \
27f08c3bdfSopenharmony_ci	mq_timedsend mq_unlink mmap mremap open openat profil ptrace quotactl \
28f08c3bdfSopenharmony_ci	readahead remap_file_pages rt_sigsuspend rt_sigtimedwait \
29f08c3bdfSopenharmony_ci	sched_getaffinity sched_setaffinity sendmsg setgroups setns sighold \
30f08c3bdfSopenharmony_ci	sigrelse sigsuspend sigtimedwait sigwait sigwaitinfo stime \
31f08c3bdfSopenharmony_ci	setdomainname sethostname symlinkat ulimit ustat vfork vhangup vmsplice
32f08c3bdfSopenharmony_ciendif
33f08c3bdfSopenharmony_ci
34f08c3bdfSopenharmony_ciinclude $(top_srcdir)/include/mk/generic_trunk_target.mk
35