summaryrefslogtreecommitdiff
path: root/drivers/scsi/aic94xx/Makefile
diff options
context:
space:
mode:
authormatt mooney <mfm@muteddisk.com>2011-01-14 06:12:49 -0800
committerMichal Marek <mmarek@suse.cz>2011-03-17 14:05:35 +0100
commitbfbec92075a296eaaddd53b3327ccc259b377299 (patch)
tree24d5cb30a713ee463a085390ebcc4df4f41be221 /drivers/scsi/aic94xx/Makefile
parent76aea3e9fe1e6b74e8f7c75324fde940701346d4 (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/aic94xx/Makefile')
-rw-r--r--drivers/scsi/aic94xx/Makefile4
1 files changed, 1 insertions, 3 deletions
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 @@
# 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 \