Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

IB: Replace EXTRA_CFLAGS with ccflags-y

Signed-off-by: matt mooney <mfm@muteddisk.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>

authored by

matt mooney and committed by
Roland Dreier
7454159d 26012f07

+5 -9
+1 -3
drivers/infiniband/hw/amso1100/Kbuild
··· 1 - ifdef CONFIG_INFINIBAND_AMSO1100_DEBUG 2 - EXTRA_CFLAGS += -DDEBUG 3 - endif 1 + ccflags-$(CONFIG_INFINIBAND_AMSO1100_DEBUG) := -DDEBUG 4 2 5 3 obj-$(CONFIG_INFINIBAND_AMSO1100) += iw_c2.o 6 4
+2 -4
drivers/infiniband/hw/cxgb3/Makefile
··· 1 - EXTRA_CFLAGS += -Idrivers/net/cxgb3 1 + ccflags-y := -Idrivers/net/cxgb3 2 2 3 3 obj-$(CONFIG_INFINIBAND_CXGB3) += iw_cxgb3.o 4 4 5 5 iw_cxgb3-y := iwch_cm.o iwch_ev.o iwch_cq.o iwch_qp.o iwch_mem.o \ 6 6 iwch_provider.o iwch.o cxio_hal.o cxio_resource.o 7 7 8 - ifdef CONFIG_INFINIBAND_CXGB3_DEBUG 9 - EXTRA_CFLAGS += -DDEBUG 10 - endif 8 + ccflags-$(CONFIG_INFINIBAND_CXGB3_DEBUG) += -DDEBUG
+1 -1
drivers/infiniband/hw/cxgb4/Makefile
··· 1 - EXTRA_CFLAGS += -Idrivers/net/cxgb4 1 + ccflags-y := -Idrivers/net/cxgb4 2 2 3 3 obj-$(CONFIG_INFINIBAND_CXGB4) += iw_cxgb4.o 4 4
+1 -1
drivers/infiniband/hw/ipath/Makefile
··· 1 - EXTRA_CFLAGS += -DIPATH_IDSTR='"QLogic kernel.org driver"' \ 1 + ccflags-y := -DIPATH_IDSTR='"QLogic kernel.org driver"' \ 2 2 -DIPATH_KERN_TYPE=0 3 3 4 4 obj-$(CONFIG_INFINIBAND_IPATH) += ib_ipath.o