2005-04-17 21:05:31 +00:00
|
|
|
#/*******************************************************************
|
|
|
|
# * This file is part of the Emulex Linux Device Driver for *
|
2005-06-25 14:34:39 +00:00
|
|
|
# * Fibre Channel Host Bus Adapters. *
|
2018-06-26 15:24:31 +00:00
|
|
|
# * Copyright (C) 2017-2018 Broadcom. All Rights Reserved. The term *
|
|
|
|
# * “Broadcom” refers to Broadcom Inc. and/or its subsidiaries. *
|
2012-03-02 03:37:07 +00:00
|
|
|
# * Copyright (C) 2004-2012 Emulex. All rights reserved. *
|
2005-06-25 14:34:39 +00:00
|
|
|
# * EMULEX and SLI are trademarks of Emulex. *
|
2017-02-12 21:52:39 +00:00
|
|
|
# * www.broadcom.com *
|
2005-04-17 21:05:31 +00:00
|
|
|
# * *
|
|
|
|
# * This program is free software; you can redistribute it and/or *
|
2005-06-25 14:34:39 +00:00
|
|
|
# * modify it under the terms of version 2 of the GNU General *
|
|
|
|
# * Public License as published by the Free Software Foundation. *
|
|
|
|
# * This program is distributed in the hope that it will be useful. *
|
|
|
|
# * ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND *
|
|
|
|
# * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, *
|
|
|
|
# * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE *
|
|
|
|
# * DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD *
|
|
|
|
# * TO BE LEGALLY INVALID. See the GNU General Public License for *
|
|
|
|
# * more details, a copy of which can be found in the file COPYING *
|
|
|
|
# * included with this package. *
|
2005-04-17 21:05:31 +00:00
|
|
|
# *******************************************************************/
|
|
|
|
######################################################################
|
|
|
|
|
2011-01-14 14:12:49 +00:00
|
|
|
ccflags-$(GCOV) := -fprofile-arcs -ftest-coverage
|
|
|
|
ccflags-$(GCOV) += -O0
|
2005-04-17 21:05:31 +00:00
|
|
|
|
2012-06-21 07:50:02 +00:00
|
|
|
ifdef WARNINGS_BECOME_ERRORS
|
2012-03-02 03:36:40 +00:00
|
|
|
ccflags-y += -Werror
|
2012-06-21 07:50:02 +00:00
|
|
|
endif
|
2012-03-02 03:36:40 +00:00
|
|
|
|
2005-04-17 21:05:31 +00:00
|
|
|
obj-$(CONFIG_SCSI_LPFC) := lpfc.o
|
|
|
|
|
2017-02-12 21:52:32 +00:00
|
|
|
lpfc-objs := lpfc_mem.o lpfc_sli.o lpfc_ct.o lpfc_els.o \
|
|
|
|
lpfc_hbadisc.o lpfc_init.o lpfc_mbox.o lpfc_nportdisc.o \
|
|
|
|
lpfc_scsi.o lpfc_attr.o lpfc_vport.o lpfc_debugfs.o lpfc_bsg.o \
|
2017-02-12 21:52:37 +00:00
|
|
|
lpfc_nvme.o lpfc_nvmet.o
|