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