Home | History | Annotate | Download | only in tpci_kernel
      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 
     17 ifneq ($(KERNELRELEASE),)
     18 
     19 obj-m := ltp_tpci.o
     20 
     21 else
     22 
     23 top_srcdir	?= ../../../../..
     24 
     25 include $(top_srcdir)/include/mk/env_pre.mk
     26 
     27 REQ_VERSION_MAJOR := 2
     28 REQ_VERSION_PATCH := 6
     29 
     30 MAKE_TARGETS := ltp_tpci.ko
     31 
     32 include $(top_srcdir)/include/mk/module.mk
     33 include $(top_srcdir)/include/mk/generic_leaf_target.mk
     34 
     35 endif