]> git.openfabrics.org - ~aditr/compat-rdma.git/commitdiff
ocrdma: Enable header file inclusion with absolute path
authorVladimir Sokolovsky <vlad@mellanox.com>
Mon, 3 Feb 2014 15:42:07 +0000 (17:42 +0200)
committerVladimir Sokolovsky <vlad@mellanox.com>
Mon, 3 Feb 2014 15:42:07 +0000 (17:42 +0200)
ocrdma driver includes header files of benet driver.
OFED build environment is not able to find the header files
if absolute path is not given.

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
patches/0021-ocrdma-Enable-header-file-inclusion-with-absolute-pa.patch [new file with mode: 0644]

diff --git a/patches/0021-ocrdma-Enable-header-file-inclusion-with-absolute-pa.patch b/patches/0021-ocrdma-Enable-header-file-inclusion-with-absolute-pa.patch
new file mode 100644 (file)
index 0000000..c5131f2
--- /dev/null
@@ -0,0 +1,22 @@
+From: Vladimir Sokolovsky <vlad@mellanox.com>
+Subject: [PATCH] ocrdma: Enable header file inclusion with absolute path
+
+ocrdma driver includes header files of benet driver.
+OFED build environment is not able to find the header files
+if absolute path is not given.
+
+Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
+---
+ drivers/infiniband/hw/ocrdma/Makefile |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/drivers/infiniband/hw/ocrdma/Makefile b/drivers/infiniband/hw/ocrdma/Makefile
+index xxxxxxx..xxxxxxx xxxxxx
+--- a/drivers/infiniband/hw/ocrdma/Makefile
++++ b/drivers/infiniband/hw/ocrdma/Makefile
+@@ -1,4 +1,4 @@
+-ccflags-y := -Idrivers/net/ethernet/emulex/benet
++ccflags-y := -I$(CWD)/drivers/net/ethernet/emulex/benet
+ obj-$(CONFIG_INFINIBAND_OCRDMA)       += ocrdma.o