Skip to content

Commit

Permalink
IB: Replace EXTRA_CFLAGS with ccflags-y
Browse files Browse the repository at this point in the history
Signed-off-by: matt mooney <mfm@muteddisk.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
  • Loading branch information
matt mooney authored and Roland Dreier committed Oct 23, 2010
1 parent 26012f0 commit 7454159
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
4 changes: 1 addition & 3 deletions drivers/infiniband/hw/amso1100/Kbuild
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
ifdef CONFIG_INFINIBAND_AMSO1100_DEBUG
EXTRA_CFLAGS += -DDEBUG
endif
ccflags-$(CONFIG_INFINIBAND_AMSO1100_DEBUG) := -DDEBUG

obj-$(CONFIG_INFINIBAND_AMSO1100) += iw_c2.o

Expand Down
6 changes: 2 additions & 4 deletions drivers/infiniband/hw/cxgb3/Makefile
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion drivers/infiniband/hw/cxgb4/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
EXTRA_CFLAGS += -Idrivers/net/cxgb4
ccflags-y := -Idrivers/net/cxgb4

obj-$(CONFIG_INFINIBAND_CXGB4) += iw_cxgb4.o

Expand Down
2 changes: 1 addition & 1 deletion drivers/infiniband/hw/ipath/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
EXTRA_CFLAGS += -DIPATH_IDSTR='"QLogic kernel.org driver"' \
ccflags-y := -DIPATH_IDSTR='"QLogic kernel.org driver"' \
-DIPATH_KERN_TYPE=0

obj-$(CONFIG_INFINIBAND_IPATH) += ib_ipath.o
Expand Down

0 comments on commit 7454159

Please sign in to comment.