[openfabrics-ewg] [PATCH ofed-1.2 alpha rel] IB/iSER: create $(DESTDIR)/$(MODULES_DIR)/kernel/drivers/scsi

Erez Zilber erezz at voltaire.com
Tue Feb 6 01:30:10 PST 2007


Vlad,

This patch creates drivers/scsi. This dir will be later used for copying iSCSI modules into it.

Signed-off-by: Erez Zilber <erezz at voltaire.com>

diff -rup ofa_kernel-1.2-orig/ofed_scripts/makefile ofa_kernel-1.2/ofed_scripts/makefile
--- ofa_kernel-1.2-orig/ofed_scripts/makefile	2007-02-06 11:10:14.000000000 +0200
+++ ofa_kernel-1.2/ofed_scripts/makefile	2007-02-06 11:11:04.000000000 +0200
@@ -178,13 +178,13 @@ install_kernel_iscsi: install_modules
 	        done; \
 	fi; \
 	if [ -d $(CWD)/lib/modules/$(KVERSION)/extra/drivers/scsi ]; then \
-	        mkdir -p $(DESTDIR)/$(MODULES_DIR)/kernel/drivers; \
+	        mkdir -p $(DESTDIR)/$(MODULES_DIR)/kernel/drivers/scsi; \
 	        for open_iscsi_module in $(OPEN_ISCSI_MODULES); \
 	        do \
 	                (mv $(CWD)/lib/modules/$(KVERSION)/extra/drivers/scsi/$$open_iscsi_module $(DESTDIR)/$(MODULES_DIR)/kernel/drivers/scsi/ ); \
 	        done; \
 	elif [ -d $(CWD)/lib/modules/$(KVERSION)/extra ]; then \
-	        mkdir -p $(DESTDIR)/$(MODULES_DIR)/kernel/drivers; \
+	        mkdir -p $(DESTDIR)/$(MODULES_DIR)/kernel/drivers/scsi; \
 	        for open_iscsi_module in $(OPEN_ISCSI_MODULES); \
 	        do \
 	                (mv $(CWD)/lib/modules/$(KVERSION)/extra/$$open_iscsi_module $(DESTDIR)/$(MODULES_DIR)/kernel/drivers/scsi/ ); \
-- 
____________________________________________________________

Erez Zilber   |  972-9-971-7689

Software Engineer, Storage Team

Voltaire – _The Grid Backbone_

 __

 www.voltaire.com <http://www.voltaire.com/>

<mailto:g at voltaire.com>

  






More information about the ewg mailing list