blob: cb6aa802c48e48b9a5ce0ede70c59ec08ca80428 [file] [log] [blame]
dea31012005-04-17 16:05:31 -05001#/*******************************************************************
2# * This file is part of the Emulex Linux Device Driver for *
James.Smart@Emulex.Comc44ce172005-06-25 10:34:39 -04003# * Fibre Channel Host Bus Adapters. *
James Smartd080abe2017-02-12 13:52:39 -08004# * Copyright (C) 2017 Broadcom. All Rights Reserved. The term *
5# * “Broadcom” refers to Broadcom Limited and/or its subsidiaries. *
James Smartd4379ac2012-03-01 22:37:07 -05006# * Copyright (C) 2004-2012 Emulex. All rights reserved. *
James.Smart@Emulex.Comc44ce172005-06-25 10:34:39 -04007# * EMULEX and SLI are trademarks of Emulex. *
James Smartd080abe2017-02-12 13:52:39 -08008# * www.broadcom.com *
dea31012005-04-17 16:05:31 -05009# * *
10# * This program is free software; you can redistribute it and/or *
James.Smart@Emulex.Comc44ce172005-06-25 10:34:39 -040011# * modify it under the terms of version 2 of the GNU General *
12# * Public License as published by the Free Software Foundation. *
13# * This program is distributed in the hope that it will be useful. *
14# * ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND *
15# * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, *
16# * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE *
17# * DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD *
18# * TO BE LEGALLY INVALID. See the GNU General Public License for *
19# * more details, a copy of which can be found in the file COPYING *
20# * included with this package. *
dea31012005-04-17 16:05:31 -050021# *******************************************************************/
22######################################################################
23
matt mooneybfbec922011-01-14 06:12:49 -080024ccflags-$(GCOV) := -fprofile-arcs -ftest-coverage
25ccflags-$(GCOV) += -O0
dea31012005-04-17 16:05:31 -050026
James Bottomley4bdd03e2012-06-21 07:50:02 +000027ifdef WARNINGS_BECOME_ERRORS
James Smartd438bd3a2012-03-01 22:36:40 -050028ccflags-y += -Werror
James Bottomley4bdd03e2012-06-21 07:50:02 +000029endif
James Smartd438bd3a2012-03-01 22:36:40 -050030
dea31012005-04-17 16:05:31 -050031obj-$(CONFIG_SCSI_LPFC) := lpfc.o
32
James Smart01649562017-02-12 13:52:32 -080033lpfc-objs := lpfc_mem.o lpfc_sli.o lpfc_ct.o lpfc_els.o \
34 lpfc_hbadisc.o lpfc_init.o lpfc_mbox.o lpfc_nportdisc.o \
35 lpfc_scsi.o lpfc_attr.o lpfc_vport.o lpfc_debugfs.o lpfc_bsg.o \
James Smartd613b6a2017-02-12 13:52:37 -080036 lpfc_nvme.o lpfc_nvmet.o