]> git.karo-electronics.de Git - linux-beck.git/commitdiff
IB: Replace EXTRA_CFLAGS with ccflags-y
authormatt mooney <mfm@muteddisk.com>
Fri, 24 Sep 2010 19:17:18 +0000 (19:17 +0000)
committerRoland Dreier <rolandd@cisco.com>
Sat, 23 Oct 2010 20:45:03 +0000 (13:45 -0700)
Signed-off-by: matt mooney <mfm@muteddisk.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/amso1100/Kbuild
drivers/infiniband/hw/cxgb3/Makefile
drivers/infiniband/hw/cxgb4/Makefile
drivers/infiniband/hw/ipath/Makefile

index 06964c4af84961864398bb7258c7fae13ffb54f2..950dfabcd89d25f3bd2b33a50f88dc839fce9141 100644 (file)
@@ -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
 
index 7e7b5a66f042ad096b9960cdb6e6ebf66e759d6a..621619c794e5aaed29e56f685e7007e5c57b2e04 100644 (file)
@@ -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
index e31a499f0172373b274e7c6b4f4321506f7c32dd..cd20b1342aec18e7b017a98678607a9fa26c661d 100644 (file)
@@ -1,4 +1,4 @@
-EXTRA_CFLAGS += -Idrivers/net/cxgb4
+ccflags-y := -Idrivers/net/cxgb4
 
 obj-$(CONFIG_INFINIBAND_CXGB4) += iw_cxgb4.o
 
index fa3df82681dfb9b695232bca88434d17948b4027..4496f2820c92d98197e3fcd69b4b938165215163 100644 (file)
@@ -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