forked from luck/tmp_suning_uos_patched
scsi: change to new flag variable
Replace EXTRA_CFLAGS with ccflags-y. Signed-off-by: matt mooney <mfm@muteddisk.com> Acked-by: WANG Cong <xiyou.wangcong@gmail.com> Signed-off-by: Michal Marek <mmarek@suse.cz>
This commit is contained in:
parent
76aea3e9fe
commit
bfbec92075
|
@ -5,4 +5,4 @@ obj-$(CONFIG_SCSI_AACRAID) := aacraid.o
|
|||
aacraid-objs := linit.o aachba.o commctrl.o comminit.o commsup.o \
|
||||
dpcsup.o rx.o sa.o rkt.o nark.o
|
||||
|
||||
EXTRA_CFLAGS := -Idrivers/scsi
|
||||
ccflags-y := -Idrivers/scsi
|
||||
|
|
|
@ -22,9 +22,7 @@
|
|||
# along with the aic94xx driver; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
ifeq ($(CONFIG_AIC94XX_DEBUG),y)
|
||||
EXTRA_CFLAGS += -DASD_DEBUG -DASD_ENTER_EXIT
|
||||
endif
|
||||
ccflags-$(CONFIG_AIC94XX_DEBUG) := -DASD_DEBUG -DASD_ENTER_EXIT
|
||||
|
||||
obj-$(CONFIG_SCSI_AIC94XX) += aic94xx.o
|
||||
aic94xx-y += aic94xx_init.o \
|
||||
|
|
|
@ -36,4 +36,4 @@ libsas-y += sas_init.o \
|
|||
sas_scsi_host.o \
|
||||
sas_task.o
|
||||
libsas-$(CONFIG_SCSI_SAS_ATA) += sas_ata.o
|
||||
libsas-$(CONFIG_SCSI_SAS_HOST_SMP) += sas_host_smp.o
|
||||
libsas-$(CONFIG_SCSI_SAS_HOST_SMP) += sas_host_smp.o
|
||||
|
|
|
@ -19,10 +19,8 @@
|
|||
# *******************************************************************/
|
||||
######################################################################
|
||||
|
||||
ifneq ($(GCOV),)
|
||||
EXTRA_CFLAGS += -fprofile-arcs -ftest-coverage
|
||||
EXTRA_CFLAGS += -O0
|
||||
endif
|
||||
ccflags-$(GCOV) := -fprofile-arcs -ftest-coverage
|
||||
ccflags-$(GCOV) += -O0
|
||||
|
||||
obj-$(CONFIG_SCSI_LPFC) := lpfc.o
|
||||
|
||||
|
|
|
@ -21,9 +21,7 @@
|
|||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
# USA
|
||||
|
||||
ifeq ($(CONFIG_SCSI_MVSAS_DEBUG),y)
|
||||
EXTRA_CFLAGS += -DMV_DEBUG
|
||||
endif
|
||||
ccflags-$(CONFIG_SCSI_MVSAS_DEBUG) := -DMV_DEBUG
|
||||
|
||||
obj-$(CONFIG_SCSI_MVSAS) += mvsas.o
|
||||
mvsas-y += mv_init.o \
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
EXTRA_CFLAGS += -Idrivers/scsi
|
||||
ccflags-y := -Idrivers/scsi
|
||||
|
||||
# 16-bit client drivers
|
||||
obj-$(CONFIG_PCMCIA_QLOGIC) += qlogic_cs.o
|
||||
|
|
Loading…
Reference in New Issue
Block a user