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