diff options
Diffstat (limited to 'drivers/scsi/mpt2sas/Makefile')
-rw-r--r-- | drivers/scsi/mpt2sas/Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/drivers/scsi/mpt2sas/Makefile b/drivers/scsi/mpt2sas/Makefile index 2ac2fc30a00d..37716169b91a 100644 --- a/drivers/scsi/mpt2sas/Makefile +++ b/drivers/scsi/mpt2sas/Makefile @@ -2,10 +2,14 @@ # share the official mpi headers from the mpt3sas driver ccflags-y += -I$(src)/../mpt3sas +ccflags-y += -DSCSI_MPT2SAS +# use the common object files from mpt3sas driver obj-$(CONFIG_SCSI_MPT2SAS) += mpt2sas.o -mpt2sas-y += mpt2sas_base.o \ - mpt2sas_config.o \ - mpt2sas_scsih.o \ - mpt2sas_transport.o \ - mpt2sas_ctl.o +mpt2sas-y += ../mpt3sas/mpt3sas_base.o \ + ../mpt3sas/mpt3sas_config.o \ + ../mpt3sas/mpt3sas_scsih.o \ + ../mpt3sas/mpt3sas_transport.o \ + ../mpt3sas/mpt3sas_ctl.o \ + ../mpt3sas/mpt3sas_trigger_diag.o \ + mpt2sas_module.o |