2005-04-18 05:05:31 +08:00
|
|
|
#/*******************************************************************
|
|
|
|
# * This file is part of the Emulex Linux Device Driver for *
|
2005-06-25 22:34:39 +08:00
|
|
|
# * Fibre Channel Host Bus Adapters. *
|
2018-06-26 23:24:31 +08:00
|
|
|
# * Copyright (C) 2017-2018 Broadcom. All Rights Reserved. The term *
|
|
|
|
# * “Broadcom” refers to Broadcom Inc. and/or its subsidiaries. *
|
2012-03-02 11:37:07 +08:00
|
|
|
# * Copyright (C) 2004-2012 Emulex. All rights reserved. *
|
2005-06-25 22:34:39 +08:00
|
|
|
# * EMULEX and SLI are trademarks of Emulex. *
|
2017-02-13 05:52:39 +08:00
|
|
|
# * www.broadcom.com *
|
2005-04-18 05:05:31 +08:00
|
|
|
# * *
|
|
|
|
# * This program is free software; you can redistribute it and/or *
|
2005-06-25 22:34:39 +08: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-18 05:05:31 +08:00
|
|
|
# *******************************************************************/
|
|
|
|
######################################################################
|
|
|
|
|
2011-01-14 22:12:49 +08:00
|
|
|
ccflags-$(GCOV) := -fprofile-arcs -ftest-coverage
|
|
|
|
ccflags-$(GCOV) += -O0
|
2005-04-18 05:05:31 +08:00
|
|
|
|
2012-06-21 15:50:02 +08:00
|
|
|
ifdef WARNINGS_BECOME_ERRORS
|
2012-03-02 11:36:40 +08:00
|
|
|
ccflags-y += -Werror
|
2012-06-21 15:50:02 +08:00
|
|
|
endif
|
2012-03-02 11:36:40 +08:00
|
|
|
|
2005-04-18 05:05:31 +08:00
|
|
|
obj-$(CONFIG_SCSI_LPFC) := lpfc.o
|
|
|
|
|
2017-02-13 05:52:32 +08: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-13 05:52:37 +08:00
|
|
|
lpfc_nvme.o lpfc_nvmet.o
|