aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/cxgb3/Makefile
diff options
context:
space:
mode:
authormatt mooney <mfm@muteddisk.com>2010-09-24 19:17:18 +0000
committerRoland Dreier <rolandd@cisco.com>2010-10-23 13:45:03 -0700
commit7454159d3c01371c1abed9d941044d95d2efde97 (patch)
treeef61a04ca20c4a76c219f34d120e0e4744a2bebe /drivers/infiniband/hw/cxgb3/Makefile
parentRDMA/iwcm: Fix hang in uninterruptible wait on cm_id destroy (diff)
downloadlinux-dev-7454159d3c01371c1abed9d941044d95d2efde97.tar.xz
linux-dev-7454159d3c01371c1abed9d941044d95d2efde97.zip
IB: Replace EXTRA_CFLAGS with ccflags-y
Signed-off-by: matt mooney <mfm@muteddisk.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/cxgb3/Makefile')
-rw-r--r--drivers/infiniband/hw/cxgb3/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/infiniband/hw/cxgb3/Makefile b/drivers/infiniband/hw/cxgb3/Makefile
index 7e7b5a66f042..621619c794e5 100644
--- a/drivers/infiniband/hw/cxgb3/Makefile
+++ b/drivers/infiniband/hw/cxgb3/Makefile
@@ -1,10 +1,8 @@
-EXTRA_CFLAGS += -Idrivers/net/cxgb3
+ccflags-y := -Idrivers/net/cxgb3
obj-$(CONFIG_INFINIBAND_CXGB3) += iw_cxgb3.o
iw_cxgb3-y := iwch_cm.o iwch_ev.o iwch_cq.o iwch_qp.o iwch_mem.o \
iwch_provider.o iwch.o cxio_hal.o cxio_resource.o
-ifdef CONFIG_INFINIBAND_CXGB3_DEBUG
-EXTRA_CFLAGS += -DDEBUG
-endif
+ccflags-$(CONFIG_INFINIBAND_CXGB3_DEBUG) += -DDEBUG