1# 2# Copyright (c) 2015 Fujitsu Ltd. 3# Author:Guangwen Feng <fenggw-fnst@cn.fujitsu.com> 4# 5# This program is free software; you can redistribute it and/or modify 6# it under the terms of the GNU General Public License as published by 7# the Free Software Foundation; either version 2 of the License, or 8# (at your option) any later version. 9# 10# This program is distributed in the hope that it will be useful, 11# but WITHOUT ANY WARRANTY; without even the implied warranty of 12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13# GNU General Public License for more details. 14# 15 16ifneq ($(KERNELRELEASE),) 17 18obj-m := ltp_lsmod01.o 19 20else 21 22top_srcdir ?= ../../.. 23 24include $(top_srcdir)/include/mk/testcases.mk 25 26REQ_VERSION_MAJOR := 2 27REQ_VERSION_PATCH := 6 28MAKE_TARGETS := ltp_lsmod01.ko 29 30include $(top_srcdir)/include/mk/env_pre.mk 31 32INSTALL_TARGETS := lsmod01.sh 33 34include $(top_srcdir)/include/mk/module.mk 35include $(top_srcdir)/include/mk/generic_leaf_target.mk 36 37endif 38