From 8b1948c1821ede73c35d77cd37ec829a6405d91d Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Thu, 29 Dec 2011 11:32:17 +0000 Subject: [PATCH] ib_srpt: Make the Makefile independent of the location of the SCST directory git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4035 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- srpt/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/srpt/Makefile b/srpt/Makefile index 31d73f2db..760d544b2 100644 --- a/srpt/Makefile +++ b/srpt/Makefile @@ -2,7 +2,6 @@ # Makefile for ib_srpt.ko. # -SCST_DIR := $(shell pwd)/../scst/src SUBDIRS := $(shell pwd) ifeq ($(KVER),) @@ -56,7 +55,7 @@ install: all src/ib_srpt.ko $(DESTDIR)$(INSTALL_MOD_PATH)/lib/modules/$(KVER)/extra/ib_srpt.ko -/sbin/depmod -aq $(KVER) -src/Module.symvers src/Modules.symvers: $(SCST_DIR)/$(MODULE_SYMVERS) +src/Module.symvers src/Modules.symvers: @if $(OFED_KERNEL_IB_RPM_INSTALLED); then \ if ! $(OFED_KERNEL_IB_DEVEL_RPM_INSTALLED); then \ echo "Error: the OFED package kernel-ib-devel has not yet been" \