mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-19 05:36:22 +00:00
25 lines
692 B
Makefile
25 lines
692 B
Makefile
ccflags-y := -I$(src)/../scst/include \
|
|
-Wall \
|
|
-Wextra \
|
|
-Wno-type-limits \
|
|
-Wno-missing-field-initializers \
|
|
-Wno-unused-parameter \
|
|
-Wformat \
|
|
-O2 \
|
|
-Werror=format-security \
|
|
-Werror=implicit-function-declaration \
|
|
-pipe \
|
|
-g \
|
|
-grecord-gcc-switches \
|
|
-fstack-clash-protection \
|
|
-fstack-protector-strong \
|
|
-Wstrict-prototypes
|
|
|
|
ifneq ($(CONFIG_SCSI_QLA2XXX_TARGET),)
|
|
ccflags-y += -DCONFIG_SCSI_QLA2XXX_TARGET=$(CONFIG_SCSI_QLA2XXX_TARGET)
|
|
endif
|
|
|
|
obj-m := qla2xxx_scst.o
|
|
qla2xxx_scst-objs := 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
|