From 74454cf2beec04bd19ea3cdb9db52216c9b9974d Mon Sep 17 00:00:00 2001 From: Vipul Pandya Date: Tue, 31 Jul 2012 14:55: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 --- ...4-Enable-header-file-inclusion-with-.patch | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 patches/0009-iw_cxgb3-iw_cxgb4-Enable-header-file-inclusion-with-.patch diff --git a/patches/0009-iw_cxgb3-iw_cxgb4-Enable-header-file-inclusion-with-.patch b/patches/0009-iw_cxgb3-iw_cxgb4-Enable-header-file-inclusion-with-.patch new file mode 100644 index 0000000..cd0b57e --- /dev/null +++ b/patches/0009-iw_cxgb3-iw_cxgb4-Enable-header-file-inclusion-with-.patch @@ -0,0 +1,38 @@ +From b8ff2564c8451779f2892756c107f0a5f829342d Mon Sep 17 00:00:00 2001 +From: Vipul Pandya +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 +--- + 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 + -- 2.41.0