From 1d0b2a972df5f40b41de3152cbbb969b3cd3d049 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Thu, 29 Oct 2009 18:40:37 +0000 Subject: [PATCH] Simplified OFED installation instructions. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1294 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- srpt/README.ofed | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/srpt/README.ofed b/srpt/README.ofed index 624a1d9f2..a4725bf34 100644 --- a/srpt/README.ofed +++ b/srpt/README.ofed @@ -58,9 +58,8 @@ Remove any distro-provided InfiniBand drivers: Now locate the file Makefile.lib and patch it such that it supports the variable PRE_CFLAGS: - find /lib/modules/$(uname -r)/build/ -name Makefile.lib - cd ... - patch -p0 < ${SCST_DIR}/srpt/patches/kernel-${KV}-scripts-Makefile.lib.patch + cd $(dirname $(find /lib/modules/$(uname -r)/build/ -name Makefile.lib)) + patch -p1 < ${SCST_DIR}/srpt/patches/kernel-${KV}-scripts-Makefile.lib.patch Next, download and install the OFED package. Make sure to disable OFED's SRP target driver (srpt=n) and to enable at least the