1# 2# Copyright (c) 2016 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_insmod01.o 19 20else 21 22top_srcdir ?= ../../.. 23include $(top_srcdir)/include/mk/testcases.mk 24 25REQ_VERSION_MAJOR := 2 26REQ_VERSION_PATCH := 6 27MAKE_TARGETS := ltp_insmod01.ko 28 29include $(top_srcdir)/include/mk/env_pre.mk 30 31INSTALL_TARGETS := insmod01.sh 32 33include $(top_srcdir)/include/mk/module.mk 34include $(top_srcdir)/include/mk/generic_leaf_target.mk 35 36endif 37