From: <bva...@us...> - 2011-12-29 11:32:23
|
Revision: 4035 http://scst.svn.sourceforge.net/scst/?rev=4035&view=rev Author: bvassche Date: 2011-12-29 11:32:17 +0000 (Thu, 29 Dec 2011) Log Message: ----------- ib_srpt: Make the Makefile independent of the location of the SCST directory Modified Paths: -------------- trunk/srpt/Makefile Modified: trunk/srpt/Makefile =================================================================== --- trunk/srpt/Makefile 2011-12-29 11:21:20 UTC (rev 4034) +++ trunk/srpt/Makefile 2011-12-29 11:32:17 UTC (rev 4035) @@ -2,7 +2,6 @@ # Makefile for ib_srpt.ko. # -SCST_DIR := $(shell pwd)/../scst/src SUBDIRS := $(shell pwd) ifeq ($(KVER),) @@ -56,7 +55,7 @@ $(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" \ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |