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