[ewg] Query regarding patch location

Vipul Pandya vipul at chelsio.com
Thu May 17 08:40:55 PDT 2012


Hi Vlad,

 

We have a following patch that is required to build iw_cxgb3 and
iw_cxgb4 driver.

Can you please suggest a place where it can fit appropriately in new
OFED build environment?

 

--- 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

 

 

We have thought of the following:

 

1.       Put the patch in compa-rdma/crap directoy. But it requires to
give '-c' option to apply patches from it. So, modify the admin_rdma.sh
to always apply patches from crap directory.

2.       Make a new directory called build-adjustments and have the
scripts always apply patches from that dir.

3.       Apply patch directly to linux-3.2 tree.

 

Kindly suggest which one would be more appropriate.

 

Thanks,

Vipul Pandya

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ewg/attachments/20120517/48c29c22/attachment.html>


More information about the ewg mailing list