From: Vladimir Sokolovsky Date: Mon, 3 Feb 2014 15:42:07 +0000 (+0200) Subject: ocrdma: Enable header file inclusion with absolute path X-Git-Tag: vofed-3.12~33 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=49bdaa77a56978b566e60de3066b74d53e88bf92;p=~emulex%2Fcompat-rdma_3.12.git 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 --- 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 index 0000000..c5131f2 --- /dev/null +++ b/patches/0021-ocrdma-Enable-header-file-inclusion-with-absolute-pa.patch @@ -0,0 +1,22 @@ +From: Vladimir Sokolovsky +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 +--- + 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 +