diff options
author | matt mooney <mfm@muteddisk.com> | 2011-01-14 09:12:49 -0500 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2011-03-17 09:05:35 -0400 |
commit | bfbec92075a296eaaddd53b3327ccc259b377299 (patch) | |
tree | 24d5cb30a713ee463a085390ebcc4df4f41be221 /drivers/scsi | |
parent | 76aea3e9fe1e6b74e8f7c75324fde940701346d4 (diff) |
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>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/aacraid/Makefile | 2 | ||||
-rw-r--r-- | drivers/scsi/aic94xx/Makefile | 4 | ||||
-rw-r--r-- | drivers/scsi/libsas/Makefile | 2 | ||||
-rw-r--r-- | drivers/scsi/lpfc/Makefile | 6 | ||||
-rw-r--r-- | drivers/scsi/mvsas/Makefile | 4 | ||||
-rw-r--r-- | drivers/scsi/pcmcia/Makefile | 2 |
6 files changed, 7 insertions, 13 deletions
diff --git a/drivers/scsi/aacraid/Makefile b/drivers/scsi/aacraid/Makefile index f1cca4ee5410..92df4d6b6147 100644 --- a/drivers/scsi/aacraid/Makefile +++ b/drivers/scsi/aacraid/Makefile | |||
@@ -5,4 +5,4 @@ obj-$(CONFIG_SCSI_AACRAID) := aacraid.o | |||
5 | aacraid-objs := linit.o aachba.o commctrl.o comminit.o commsup.o \ | 5 | aacraid-objs := linit.o aachba.o commctrl.o comminit.o commsup.o \ |
6 | dpcsup.o rx.o sa.o rkt.o nark.o | 6 | dpcsup.o rx.o sa.o rkt.o nark.o |
7 | 7 | ||
8 | EXTRA_CFLAGS := -Idrivers/scsi | 8 | ccflags-y := -Idrivers/scsi |
diff --git a/drivers/scsi/aic94xx/Makefile b/drivers/scsi/aic94xx/Makefile index e78ce0fa44d2..c0a15c754585 100644 --- a/drivers/scsi/aic94xx/Makefile +++ b/drivers/scsi/aic94xx/Makefile | |||
@@ -22,9 +22,7 @@ | |||
22 | # along with the aic94xx driver; if not, write to the Free Software | 22 | # along with the aic94xx driver; if not, write to the Free Software |
23 | # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | 23 | # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
24 | 24 | ||
25 | ifeq ($(CONFIG_AIC94XX_DEBUG),y) | 25 | ccflags-$(CONFIG_AIC94XX_DEBUG) := -DASD_DEBUG -DASD_ENTER_EXIT |
26 | EXTRA_CFLAGS += -DASD_DEBUG -DASD_ENTER_EXIT | ||
27 | endif | ||
28 | 26 | ||
29 | obj-$(CONFIG_SCSI_AIC94XX) += aic94xx.o | 27 | obj-$(CONFIG_SCSI_AIC94XX) += aic94xx.o |
30 | aic94xx-y += aic94xx_init.o \ | 28 | aic94xx-y += aic94xx_init.o \ |
diff --git a/drivers/scsi/libsas/Makefile b/drivers/scsi/libsas/Makefile index 1ad1323c60fa..ae48b52e7645 100644 --- a/drivers/scsi/libsas/Makefile +++ b/drivers/scsi/libsas/Makefile | |||
@@ -36,4 +36,4 @@ libsas-y += sas_init.o \ | |||
36 | sas_scsi_host.o \ | 36 | sas_scsi_host.o \ |
37 | sas_task.o | 37 | sas_task.o |
38 | libsas-$(CONFIG_SCSI_SAS_ATA) += sas_ata.o | 38 | libsas-$(CONFIG_SCSI_SAS_ATA) += sas_ata.o |
39 | libsas-$(CONFIG_SCSI_SAS_HOST_SMP) += sas_host_smp.o \ No newline at end of file | 39 | libsas-$(CONFIG_SCSI_SAS_HOST_SMP) += sas_host_smp.o |
diff --git a/drivers/scsi/lpfc/Makefile b/drivers/scsi/lpfc/Makefile index ad05d6edb8f6..14de249917f8 100644 --- a/drivers/scsi/lpfc/Makefile +++ b/drivers/scsi/lpfc/Makefile | |||
@@ -19,10 +19,8 @@ | |||
19 | # *******************************************************************/ | 19 | # *******************************************************************/ |
20 | ###################################################################### | 20 | ###################################################################### |
21 | 21 | ||
22 | ifneq ($(GCOV),) | 22 | ccflags-$(GCOV) := -fprofile-arcs -ftest-coverage |
23 | EXTRA_CFLAGS += -fprofile-arcs -ftest-coverage | 23 | ccflags-$(GCOV) += -O0 |
24 | EXTRA_CFLAGS += -O0 | ||
25 | endif | ||
26 | 24 | ||
27 | obj-$(CONFIG_SCSI_LPFC) := lpfc.o | 25 | obj-$(CONFIG_SCSI_LPFC) := lpfc.o |
28 | 26 | ||
diff --git a/drivers/scsi/mvsas/Makefile b/drivers/scsi/mvsas/Makefile index 52ac4264677d..ffbf759e46f1 100644 --- a/drivers/scsi/mvsas/Makefile +++ b/drivers/scsi/mvsas/Makefile | |||
@@ -21,9 +21,7 @@ | |||
21 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 | 21 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 |
22 | # USA | 22 | # USA |
23 | 23 | ||
24 | ifeq ($(CONFIG_SCSI_MVSAS_DEBUG),y) | 24 | ccflags-$(CONFIG_SCSI_MVSAS_DEBUG) := -DMV_DEBUG |
25 | EXTRA_CFLAGS += -DMV_DEBUG | ||
26 | endif | ||
27 | 25 | ||
28 | obj-$(CONFIG_SCSI_MVSAS) += mvsas.o | 26 | obj-$(CONFIG_SCSI_MVSAS) += mvsas.o |
29 | mvsas-y += mv_init.o \ | 27 | mvsas-y += mv_init.o \ |
diff --git a/drivers/scsi/pcmcia/Makefile b/drivers/scsi/pcmcia/Makefile index eca379059db6..683bf148b5b7 100644 --- a/drivers/scsi/pcmcia/Makefile +++ b/drivers/scsi/pcmcia/Makefile | |||
@@ -1,5 +1,5 @@ | |||
1 | 1 | ||
2 | EXTRA_CFLAGS += -Idrivers/scsi | 2 | ccflags-y := -Idrivers/scsi |
3 | 3 | ||
4 | # 16-bit client drivers | 4 | # 16-bit client drivers |
5 | obj-$(CONFIG_PCMCIA_QLOGIC) += qlogic_cs.o | 5 | obj-$(CONFIG_PCMCIA_QLOGIC) += qlogic_cs.o |