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
This commit is contained in:
Bart Van Assche
2011-12-29 11:32:17 +00:00
parent cda113058b
commit 8b1948c182

View File

@@ -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" \