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