xref: /aosp_15_r20/external/ltp/testcases/kernel/Makefile (revision 49cdfc7efb34551c7342be41a7384b9c40d7cab7)
1*49cdfc7eSAndroid Build Coastguard Worker# SPDX-License-Identifier: GPL-2.0-or-later
2*49cdfc7eSAndroid Build Coastguard Worker# Copyright (C) 2009, Cisco Systems Inc.
3*49cdfc7eSAndroid Build Coastguard Worker# Copyright (C) 2010, Linux Test Project.
4*49cdfc7eSAndroid Build Coastguard Worker# Ngie Cooper, July 2009
5*49cdfc7eSAndroid Build Coastguard Worker
6*49cdfc7eSAndroid Build Coastguard Workertop_srcdir		?= ../..
7*49cdfc7eSAndroid Build Coastguard Worker
8*49cdfc7eSAndroid Build Coastguard Workerinclude $(top_srcdir)/include/mk/env_pre.mk
9*49cdfc7eSAndroid Build Coastguard Worker
10*49cdfc7eSAndroid Build Coastguard Worker# NOTE (garrcoop): mce-test isn't integrated into the build.
11*49cdfc7eSAndroid Build Coastguard Worker
12*49cdfc7eSAndroid Build Coastguard Worker# Build syscalls in all scenarios.
13*49cdfc7eSAndroid Build Coastguard WorkerSUBDIRS			:= syscalls
14*49cdfc7eSAndroid Build Coastguard Worker
15*49cdfc7eSAndroid Build Coastguard Worker# Build lib
16*49cdfc7eSAndroid Build Coastguard WorkerSUBDIRS			+= lib
17*49cdfc7eSAndroid Build Coastguard Worker
18*49cdfc7eSAndroid Build Coastguard Worker# KEEP THIS LIST ALPHABETIZED PLEASE!
19*49cdfc7eSAndroid Build Coastguard WorkerSUBDIRS			+= connectors \
20*49cdfc7eSAndroid Build Coastguard Worker			   containers \
21*49cdfc7eSAndroid Build Coastguard Worker			   controllers \
22*49cdfc7eSAndroid Build Coastguard Worker			   crypto \
23*49cdfc7eSAndroid Build Coastguard Worker			   device-drivers \
24*49cdfc7eSAndroid Build Coastguard Worker			   firmware \
25*49cdfc7eSAndroid Build Coastguard Worker			   fs \
26*49cdfc7eSAndroid Build Coastguard Worker			   hotplug \
27*49cdfc7eSAndroid Build Coastguard Worker			   input \
28*49cdfc7eSAndroid Build Coastguard Worker			   io \
29*49cdfc7eSAndroid Build Coastguard Worker			   ipc \
30*49cdfc7eSAndroid Build Coastguard Worker			   irq \
31*49cdfc7eSAndroid Build Coastguard Worker			   kvm \
32*49cdfc7eSAndroid Build Coastguard Worker			   logging \
33*49cdfc7eSAndroid Build Coastguard Worker			   mem \
34*49cdfc7eSAndroid Build Coastguard Worker			   numa \
35*49cdfc7eSAndroid Build Coastguard Worker			   power_management \
36*49cdfc7eSAndroid Build Coastguard Worker			   pty \
37*49cdfc7eSAndroid Build Coastguard Worker			   sched \
38*49cdfc7eSAndroid Build Coastguard Worker			   security \
39*49cdfc7eSAndroid Build Coastguard Worker			   sound \
40*49cdfc7eSAndroid Build Coastguard Worker			   tracing \
41*49cdfc7eSAndroid Build Coastguard Worker			   uevents \
42*49cdfc7eSAndroid Build Coastguard Worker			   watchqueue \
43*49cdfc7eSAndroid Build Coastguard Worker
44*49cdfc7eSAndroid Build Coastguard Workerifeq ($(WITH_KVM_TESTSUITE),yes)
45*49cdfc7eSAndroid Build Coastguard WorkerSUBDIRS			+= kvm
46*49cdfc7eSAndroid Build Coastguard Worker
47*49cdfc7eSAndroid Build Coastguard Workerendif
48*49cdfc7eSAndroid Build Coastguard Worker
49*49cdfc7eSAndroid Build Coastguard Workerifeq ($(ANDROID),1)
50*49cdfc7eSAndroid Build Coastguard WorkerFILTER_OUT_DIRS		+= containers controllers device-drivers fs io ipc mem \
51*49cdfc7eSAndroid Build Coastguard Worker				sched security
52*49cdfc7eSAndroid Build Coastguard Workerendif
53*49cdfc7eSAndroid Build Coastguard Worker
54*49cdfc7eSAndroid Build Coastguard Workerinclude $(top_srcdir)/include/mk/generic_trunk_target.mk
55