From 49bdaa77a56978b566e60de3066b74d53e88bf92 Mon Sep 17 00:00:00 2001 From: Vladimir Sokolovsky Date: Mon, 3 Feb 2014 17:42:07 +0200 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 --- ...ader-file-inclusion-with-absolute-pa.patch | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 patches/0021-ocrdma-Enable-header-file-inclusion-with-absolute-pa.patch 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 + -- 2.41.0