[ewg] [PARCH 2/3] Allow iser to be compiled under RHEL5.4

Moni Shoua monis at Voltaire.COM
Sun Feb 21 07:45:11 PST 2010


build and install iser without iscsi modules.

Signed-off-by: Moni Shoua <monis at voltaire.com>

---

diff -ur ofa_kernel-1.5.1.orig/ofed_scripts/configure ofa_kernel-1.5.1/ofed_scripts/configure
--- ofa_kernel-1.5.1.orig/ofed_scripts/configure	2010-02-11 14:13:42.000000000 +0200
+++ ofa_kernel-1.5.1/ofed_scripts/configure	2010-02-21 15:32:21.000000000 +0200
@@ -443,6 +443,8 @@
                         ;;
                         --with-iser-mod)
                             CONFIG_INFINIBAND_ISER="m"
+                        ;;
+                        --with-iscsi-mod)
                             CONFIG_SCSI_ISCSI_ATTRS="m"
                             CONFIG_ISCSI_TCP="m"
                         ;;
Only in ofa_kernel-1.5.1/ofed_scripts: configure.orig
diff -ur ofa_kernel-1.5.1.orig/ofed_scripts/makefile ofa_kernel-1.5.1/ofed_scripts/makefile
--- ofa_kernel-1.5.1.orig/ofed_scripts/makefile	2010-02-11 14:13:42.000000000 +0200
+++ ofa_kernel-1.5.1/ofed_scripts/makefile	2010-02-21 15:55:27.000000000 +0200
@@ -38,10 +38,6 @@
 install: install_kernel
 install_kernel: install_modules
 
-ifeq ($(CONFIG_INFINIBAND_ISER),m)
-install_kernel:   install_kernel_iscsi
-endif
-
 ifeq ($(CONFIG_CHELSIO_T3),m)
 install_kernel: install_kernel_cxgb3
 endif
diff -ur ofa_kernel-1.5.1.orig/ofed_scripts/Makefile ofa_kernel-1.5.1/ofed_scripts/Makefile
--- ofa_kernel-1.5.1.orig/ofed_scripts/Makefile	2010-02-11 14:13:42.000000000 +0200
+++ ofa_kernel-1.5.1/ofed_scripts/Makefile	2010-02-21 16:47:40.000000000 +0200
@@ -10,7 +10,6 @@
 		-I$(CWD)/drivers/infiniband/hw/mlx4
 
 obj-$(CONFIG_INFINIBAND)        += drivers/infiniband/
-obj-$(CONFIG_INFINIBAND_ISER)   += drivers/scsi/
 obj-$(CONFIG_CHELSIO_T3)        += drivers/net/cxgb3/
 obj-$(CONFIG_MLX4_CORE)         += drivers/net/mlx4/
 obj-$(CONFIG_RDS)               += net/rds/
Only in ofa_kernel-1.5.1/ofed_scripts: makefile.orig
Only in ofa_kernel-1.5.1/ofed_scripts: Makefile.orig



More information about the ewg mailing list