Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
37 lines
1.9 KiB
Makefile
37 lines
1.9 KiB
Makefile
#/*******************************************************************
|
|
# * This file is part of the Emulex Linux Device Driver for *
|
|
# * Fibre Channel Host Bus Adapters. *
|
|
# * Copyright (C) 2017 Broadcom. All Rights Reserved. The term *
|
|
# * “Broadcom” refers to Broadcom Limited and/or its subsidiaries. *
|
|
# * Copyright (C) 2004-2012 Emulex. All rights reserved. *
|
|
# * EMULEX and SLI are trademarks of Emulex. *
|
|
# * www.broadcom.com *
|
|
# * *
|
|
# * This program is free software; you can redistribute it and/or *
|
|
# * 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. *
|
|
# *******************************************************************/
|
|
######################################################################
|
|
|
|
ccflags-$(GCOV) := -fprofile-arcs -ftest-coverage
|
|
ccflags-$(GCOV) += -O0
|
|
|
|
ifdef WARNINGS_BECOME_ERRORS
|
|
ccflags-y +=
|
|
endif
|
|
|
|
obj-$(CONFIG_SCSI_LPFC) := lpfc.o
|
|
|
|
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 \
|
|
lpfc_nvme.o lpfc_nvmet.o
|