mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-18 21:26:31 +00:00
qla2x00t-32gbit: Build the qla2xxx_scst driver with the same flags as the target driver
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8188 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1,4 +1,15 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
|
||||
-include $(KBUILD_EXTMOD)/../build_mode
|
||||
|
||||
echo := $(shell echo "qla2x00t-32gbit build mode: $(BUILD_MODE)" >& 2)
|
||||
|
||||
BUILD_MODE_CFLAGS_ = -DCONFIG_SCST_TRACING -DCONFIG_SCST_DEBUG \
|
||||
-DCONFIG_SCST_EXTRACHECKS -fno-inline -fno-inline-functions
|
||||
BUILD_MODE_CFLAGS_RELEASE = -DCONFIG_SCST_TRACING
|
||||
BUILD_MODE_CFLAGS_PERF =
|
||||
ccflags-y += $(BUILD_MODE_CFLAGS_$(BUILD_MODE))
|
||||
|
||||
qla2xxx-y := qla_os.o qla_init.o qla_mbx.o qla_iocb.o qla_isr.o qla_gs.o \
|
||||
qla_dbg.o qla_sup.o qla_attr.o qla_mid.o qla_dfs.o qla_bsg.o \
|
||||
qla_nx.o qla_mr.o qla_nx2.o qla_target.o qla_tmpl.o qla_nvme.o
|
||||
|
||||
Reference in New Issue
Block a user