]> git.openfabrics.org - ~emulex/for-vlad/old/compat-rdma.git/commitdiff
Backport for cxgbi on RHEL7
authorSteve Wise <swise@opengridcomputing.com>
Tue, 18 Nov 2014 14:51:19 +0000 (08:51 -0600)
committerroot <root@rac3.ogc.int>
Tue, 18 Nov 2014 14:51:19 +0000 (08:51 -0600)
Just needed to tweak the Kbuild files.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
patches/0017-BACKPORT-cxgbi-Kbuild.patch [new file with mode: 0644]

diff --git a/patches/0017-BACKPORT-cxgbi-Kbuild.patch b/patches/0017-BACKPORT-cxgbi-Kbuild.patch
new file mode 100644 (file)
index 0000000..a2e8935
--- /dev/null
@@ -0,0 +1,18 @@
+diff --git a/drivers/scsi/cxgbi/cxgb3i/Kbuild b/drivers/scsi/cxgbi/cxgb3i/Kbuild
+index 6f095e2..5f0dc46 100644
+--- a/drivers/scsi/cxgbi/cxgb3i/Kbuild
++++ b/drivers/scsi/cxgbi/cxgb3i/Kbuild
+@@ -1,3 +1,3 @@
+-EXTRA_CFLAGS += -I$(srctree)/drivers/net/ethernet/chelsio/cxgb3
++ccflags-y := -I$(CWD)/drivers/net/ethernet/chelsio/cxgb3
+ obj-$(CONFIG_SCSI_CXGB3_ISCSI) += cxgb3i.o
+diff --git a/drivers/scsi/cxgbi/cxgb4i/Kbuild b/drivers/scsi/cxgbi/cxgb4i/Kbuild
+index 8290cda..4b00cb9 100644
+--- a/drivers/scsi/cxgbi/cxgb4i/Kbuild
++++ b/drivers/scsi/cxgbi/cxgb4i/Kbuild
+@@ -1,3 +1,3 @@
+-EXTRA_CFLAGS += -I$(srctree)/drivers/net/ethernet/chelsio/cxgb4
++ccflags-y := -I$(CWD)/drivers/net/ethernet/chelsio/cxgb4
+ obj-$(CONFIG_SCSI_CXGB4_ISCSI) += cxgb4i.o