Skip to content

Commit

Permalink
scsi: change to new flag variable
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
matt mooney authored and Michal Marek committed Mar 17, 2011
1 parent 76aea3e commit bfbec92
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 13 deletions.
2 changes: 1 addition & 1 deletion drivers/scsi/aacraid/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 1 addition & 3 deletions drivers/scsi/aic94xx/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion drivers/scsi/libsas/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 2 additions & 4 deletions drivers/scsi/lpfc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 1 addition & 3 deletions drivers/scsi/mvsas/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion drivers/scsi/pcmcia/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

EXTRA_CFLAGS += -Idrivers/scsi
ccflags-y := -Idrivers/scsi

# 16-bit client drivers
obj-$(CONFIG_PCMCIA_QLOGIC) += qlogic_cs.o
Expand Down

0 comments on commit bfbec92

Please sign in to comment.