Skip to content

Commit bfbec92

Browse files
mfmooneymichal42
authored andcommitted
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>
1 parent 76aea3e commit bfbec92

6 files changed

Lines changed: 7 additions & 13 deletions

File tree

‎drivers/scsi/aacraid/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ obj-$(CONFIG_SCSI_AACRAID) := aacraid.o
55
aacraid-objs := linit.o aachba.o commctrl.o comminit.o commsup.o \
66
dpcsup.o rx.o sa.o rkt.o nark.o
77

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

‎drivers/scsi/aic94xx/Makefile‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@
2222
# along with the aic94xx driver; if not, write to the Free Software
2323
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
2424

25-
ifeq ($(CONFIG_AIC94XX_DEBUG),y)
26-
EXTRA_CFLAGS += -DASD_DEBUG -DASD_ENTER_EXIT
27-
endif
25+
ccflags-$(CONFIG_AIC94XX_DEBUG) := -DASD_DEBUG -DASD_ENTER_EXIT
2826

2927
obj-$(CONFIG_SCSI_AIC94XX) += aic94xx.o
3028
aic94xx-y += aic94xx_init.o \

‎drivers/scsi/libsas/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ libsas-y += sas_init.o \
3636
sas_scsi_host.o \
3737
sas_task.o
3838
libsas-$(CONFIG_SCSI_SAS_ATA) += sas_ata.o
39-
libsas-$(CONFIG_SCSI_SAS_HOST_SMP) += sas_host_smp.o
39+
libsas-$(CONFIG_SCSI_SAS_HOST_SMP) += sas_host_smp.o

‎drivers/scsi/lpfc/Makefile‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,8 @@
1919
# *******************************************************************/
2020
######################################################################
2121

22-
ifneq ($(GCOV),)
23-
EXTRA_CFLAGS += -fprofile-arcs -ftest-coverage
24-
EXTRA_CFLAGS += -O0
25-
endif
22+
ccflags-$(GCOV) := -fprofile-arcs -ftest-coverage
23+
ccflags-$(GCOV) += -O0
2624

2725
obj-$(CONFIG_SCSI_LPFC) := lpfc.o
2826

‎drivers/scsi/mvsas/Makefile‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@
2121
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
2222
# USA
2323

24-
ifeq ($(CONFIG_SCSI_MVSAS_DEBUG),y)
25-
EXTRA_CFLAGS += -DMV_DEBUG
26-
endif
24+
ccflags-$(CONFIG_SCSI_MVSAS_DEBUG) := -DMV_DEBUG
2725

2826
obj-$(CONFIG_SCSI_MVSAS) += mvsas.o
2927
mvsas-y += mv_init.o \

‎drivers/scsi/pcmcia/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

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

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

0 commit comments

Comments
 (0)