Home | History | Annotate | Download | only in fw_load_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 ifdef CONFIG_FW_LOADER
     20 obj-m		:= ltp_fw_load.o
     21 endif
     22 
     23 else
     24 
     25 top_srcdir	?= ../../../..
     26 include $(top_srcdir)/include/mk/env_pre.mk
     27 
     28 REQ_VERSION_MAJOR   := 3
     29 REQ_VERSION_PATCH   := 7
     30 MAKE_TARGETS	:= ltp_fw_load.ko
     31 
     32 include $(top_srcdir)/include/mk/module.mk
     33 include $(top_srcdir)/include/mk/generic_leaf_target.mk
     34 
     35 endif
     36