]> git.openfabrics.org - ~emulex/compat-rdma.git/commitdiff
crap: Add iw_cxgb3/iw_cxgb4 header file inclusion patch
authorVipul Pandya <vipul@chelsio.com>
Fri, 18 May 2012 15:14:58 +0000 (08:14 -0700)
committerVipul Pandya <vipul@chelsio.com>
Fri, 18 May 2012 15:14:58 +0000 (08:14 -0700)
iw_cxgb3/iw_cxgb4 driver includes header files of cxgb3/cxgb4 drivers
respectively. OFED build environment is not able to find the header files
if absolute path is not given.

Signed-off-by: Vipul Pandya <vipul@chelsio.com>
crap/01-iw_cxgb3-iw_cxgb4-Enable-header-file-inclusion-with-.patch [new file with mode: 0644]

diff --git a/crap/01-iw_cxgb3-iw_cxgb4-Enable-header-file-inclusion-with-.patch b/crap/01-iw_cxgb3-iw_cxgb4-Enable-header-file-inclusion-with-.patch
new file mode 100644 (file)
index 0000000..cd0b57e
--- /dev/null
@@ -0,0 +1,38 @@
+From b8ff2564c8451779f2892756c107f0a5f829342d Mon Sep 17 00:00:00 2001
+From: Vipul Pandya <vipul@chelsio.com>
+Date: Mon, 7 May 2012 12:43:41 +0530
+Subject: [PATCH] iw_cxgb3/iw_cxgb4: Enable header file inclusion with absolute path
+
+iw_cxgb3/iw_cxgb4 driver includes header files of cxgb3/cxgb4 drivers
+respectively. OFED build environment is not able to find the header files
+if absolute path is not given.
+
+Signed-off-by: Vipul Pandya <vipul@chelsio.com>
+---
+ drivers/infiniband/hw/cxgb3/Makefile |    2 +-
+ drivers/infiniband/hw/cxgb4/Makefile |    2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/drivers/infiniband/hw/cxgb3/Makefile b/drivers/infiniband/hw/cxgb3/Makefile
+index 2761364..c780a7a 100644
+--- a/drivers/infiniband/hw/cxgb3/Makefile
++++ b/drivers/infiniband/hw/cxgb3/Makefile
+@@ -1,4 +1,4 @@
+-ccflags-y := -Idrivers/net/ethernet/chelsio/cxgb3
++ccflags-y := -I$(CWD)/drivers/net/ethernet/chelsio/cxgb3
+ obj-$(CONFIG_INFINIBAND_CXGB3) += iw_cxgb3.o
+diff --git a/drivers/infiniband/hw/cxgb4/Makefile b/drivers/infiniband/hw/cxgb4/Makefile
+index 46b878c..b26d54c 100644
+--- a/drivers/infiniband/hw/cxgb4/Makefile
++++ b/drivers/infiniband/hw/cxgb4/Makefile
+@@ -1,4 +1,4 @@
+-ccflags-y := -Idrivers/net/ethernet/chelsio/cxgb4
++ccflags-y := -I$(CWD)/drivers/net/ethernet/chelsio/cxgb4
+ obj-$(CONFIG_INFINIBAND_CXGB4) += iw_cxgb4.o
+-- 
+1.7.0.4
+