xref: /OK3568_Linux_fs/kernel/drivers/scsi/lpfc/Makefile (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun#/*******************************************************************
2*4882a593Smuzhiyun# * This file is part of the Emulex Linux Device Driver for         *
3*4882a593Smuzhiyun# * Fibre Channel Host Bus Adapters.                                *
4*4882a593Smuzhiyun# * Copyright (C) 2017-2018 Broadcom. All Rights Reserved. The term *
5*4882a593Smuzhiyun# * “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.     *
6*4882a593Smuzhiyun# * Copyright (C) 2004-2012 Emulex.  All rights reserved.           *
7*4882a593Smuzhiyun# * EMULEX and SLI are trademarks of Emulex.                        *
8*4882a593Smuzhiyun# * www.broadcom.com                                                *
9*4882a593Smuzhiyun# *                                                                 *
10*4882a593Smuzhiyun# * This program is free software; you can redistribute it and/or   *
11*4882a593Smuzhiyun# * modify it under the terms of version 2 of the GNU General       *
12*4882a593Smuzhiyun# * Public License as published by the Free Software Foundation.    *
13*4882a593Smuzhiyun# * This program is distributed in the hope that it will be useful. *
14*4882a593Smuzhiyun# * ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND          *
15*4882a593Smuzhiyun# * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,  *
16*4882a593Smuzhiyun# * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE      *
17*4882a593Smuzhiyun# * DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD *
18*4882a593Smuzhiyun# * TO BE LEGALLY INVALID.  See the GNU General Public License for  *
19*4882a593Smuzhiyun# * more details, a copy of which can be found in the file COPYING  *
20*4882a593Smuzhiyun# * included with this package.                                     *
21*4882a593Smuzhiyun# *******************************************************************/
22*4882a593Smuzhiyun######################################################################
23*4882a593Smuzhiyun
24*4882a593Smuzhiyunccflags-$(GCOV) := -fprofile-arcs -ftest-coverage
25*4882a593Smuzhiyunccflags-$(GCOV) += -O0
26*4882a593Smuzhiyun
27*4882a593Smuzhiyunifdef WARNINGS_BECOME_ERRORS
28*4882a593Smuzhiyunccflags-y += -Werror
29*4882a593Smuzhiyunendif
30*4882a593Smuzhiyun
31*4882a593Smuzhiyunobj-$(CONFIG_SCSI_LPFC) := lpfc.o
32*4882a593Smuzhiyun
33*4882a593Smuzhiyunlpfc-objs := lpfc_mem.o lpfc_sli.o lpfc_ct.o lpfc_els.o \
34*4882a593Smuzhiyun	lpfc_hbadisc.o	lpfc_init.o lpfc_mbox.o lpfc_nportdisc.o   \
35*4882a593Smuzhiyun	lpfc_scsi.o lpfc_attr.o lpfc_vport.o lpfc_debugfs.o lpfc_bsg.o \
36*4882a593Smuzhiyun	lpfc_nvme.o lpfc_nvmet.o
37