xref: /aosp_15_r20/external/ltp/testcases/kernel/syscalls/Makefile (revision 49cdfc7efb34551c7342be41a7384b9c40d7cab7)
1*49cdfc7eSAndroid Build Coastguard Worker# SPDX-License-Identifier: GPL-2.0-or-later
2*49cdfc7eSAndroid Build Coastguard Worker#    testcases/kernel/syscalls Makefile.
3*49cdfc7eSAndroid Build Coastguard Worker#
4*49cdfc7eSAndroid Build Coastguard Worker#    Copyright (C) 2009, Cisco Systems Inc.
5*49cdfc7eSAndroid Build Coastguard Worker#
6*49cdfc7eSAndroid Build Coastguard Worker# Ngie Cooper, July 2009
7*49cdfc7eSAndroid Build Coastguard Worker#
8*49cdfc7eSAndroid Build Coastguard Worker
9*49cdfc7eSAndroid Build Coastguard Workertop_srcdir		?= ../../..
10*49cdfc7eSAndroid Build Coastguard Worker
11*49cdfc7eSAndroid Build Coastguard Workerinclude	$(top_srcdir)/include/mk/env_pre.mk
12*49cdfc7eSAndroid Build Coastguard Worker
13*49cdfc7eSAndroid Build Coastguard Workerifeq ($(UCLIBC),1)
14*49cdfc7eSAndroid Build Coastguard WorkerFILTER_OUT_DIRS	+= profil
15*49cdfc7eSAndroid Build Coastguard Workerendif
16*49cdfc7eSAndroid Build Coastguard Worker
17*49cdfc7eSAndroid Build Coastguard Workerifeq ($(ANDROID), 1)
18*49cdfc7eSAndroid Build Coastguard WorkerFILTER_OUT_DIRS	+= \
19*49cdfc7eSAndroid Build Coastguard Worker	accept4 adjtimex cma confstr fcntl fmtmsg futex getcontext getcpu \
20*49cdfc7eSAndroid Build Coastguard Worker	getdomainname getdtablesize gethostid getgroups get_mempolicy ipc \
21*49cdfc7eSAndroid Build Coastguard Worker	linkat kill mallopt memmap mq_notify mq_open mq_timedreceive \
22*49cdfc7eSAndroid Build Coastguard Worker	mq_timedsend mq_unlink mmap mremap open openat profil ptrace quotactl \
23*49cdfc7eSAndroid Build Coastguard Worker	readahead remap_file_pages rt_sigsuspend rt_sigtimedwait \
24*49cdfc7eSAndroid Build Coastguard Worker	sched_getaffinity sched_setaffinity sendmsg setgroups setns sighold \
25*49cdfc7eSAndroid Build Coastguard Worker	sigrelse sigsuspend sigtimedwait sigwait sigwaitinfo stime \
26*49cdfc7eSAndroid Build Coastguard Worker	setdomainname sethostname symlinkat ulimit ustat vfork vhangup vmsplice
27*49cdfc7eSAndroid Build Coastguard Workerendif
28*49cdfc7eSAndroid Build Coastguard Worker
29*49cdfc7eSAndroid Build Coastguard Workerinclude $(top_srcdir)/include/mk/generic_trunk_target.mk
30