xref: /aosp_15_r20/external/ltp/testcases/kernel/device-drivers/acpi/Makefile (revision 49cdfc7efb34551c7342be41a7384b9c40d7cab7)
1*49cdfc7eSAndroid Build Coastguard Worker# Copyright (c) 2013 Oracle and/or its affiliates. All Rights Reserved.
2*49cdfc7eSAndroid Build Coastguard Worker#
3*49cdfc7eSAndroid Build Coastguard Worker# This program is free software; you can redistribute it and/or
4*49cdfc7eSAndroid Build Coastguard Worker# modify it under the terms of the GNU General Public License as
5*49cdfc7eSAndroid Build Coastguard Worker# published by the Free Software Foundation; either version 2 of
6*49cdfc7eSAndroid Build Coastguard Worker# the License, or (at your option) any later version.
7*49cdfc7eSAndroid Build Coastguard Worker#
8*49cdfc7eSAndroid Build Coastguard Worker# This program is distributed in the hope that it would be useful,
9*49cdfc7eSAndroid Build Coastguard Worker# but WITHOUT ANY WARRANTY; without even the implied warranty of
10*49cdfc7eSAndroid Build Coastguard Worker# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11*49cdfc7eSAndroid Build Coastguard Worker# GNU General Public License for more details.
12*49cdfc7eSAndroid Build Coastguard Worker#
13*49cdfc7eSAndroid Build Coastguard Worker# You should have received a copy of the GNU General Public License
14*49cdfc7eSAndroid Build Coastguard Worker# along with this program; if not, write the Free Software Foundation,
15*49cdfc7eSAndroid Build Coastguard Worker# Inc.,  51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
16*49cdfc7eSAndroid Build Coastguard Worker
17*49cdfc7eSAndroid Build Coastguard Workerifneq ($(KERNELRELEASE),)
18*49cdfc7eSAndroid Build Coastguard Worker
19*49cdfc7eSAndroid Build Coastguard Workerobj-m := ltp_acpi_cmds.o
20*49cdfc7eSAndroid Build Coastguard Worker
21*49cdfc7eSAndroid Build Coastguard Workerelse
22*49cdfc7eSAndroid Build Coastguard Worker
23*49cdfc7eSAndroid Build Coastguard Workertop_srcdir	?= ../../../..
24*49cdfc7eSAndroid Build Coastguard Workerinclude $(top_srcdir)/include/mk/testcases.mk
25*49cdfc7eSAndroid Build Coastguard Worker
26*49cdfc7eSAndroid Build Coastguard WorkerREQ_VERSION_MAJOR	:= 2
27*49cdfc7eSAndroid Build Coastguard WorkerREQ_VERSION_PATCH	:= 6
28*49cdfc7eSAndroid Build Coastguard WorkerMAKE_TARGETS		:= ltp_acpi ltp_acpi_cmds.ko
29*49cdfc7eSAndroid Build Coastguard Worker
30*49cdfc7eSAndroid Build Coastguard Workerinclude $(top_srcdir)/include/mk/module.mk
31*49cdfc7eSAndroid Build Coastguard Workerinclude $(top_srcdir)/include/mk/generic_leaf_target.mk
32*49cdfc7eSAndroid Build Coastguard Worker
33*49cdfc7eSAndroid Build Coastguard Workerendif
34