From ef69510af0cc2bc68492a39789dd4e6b7de674d1 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Mon, 15 Sep 2014 12:32:02 +0000 Subject: [PATCH] ib_srpt: Make "make -j install" work for n >= 2 if "make all" has not been run first (merge r5806 from trunk) git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5807 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- srpt/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srpt/Makefile b/srpt/Makefile index 20e5709ea..555525018 100644 --- a/srpt/Makefile +++ b/srpt/Makefile @@ -87,7 +87,7 @@ all: src/$(MODULE_SYMVERS) PRE_CFLAGS="$(OFED_CFLAGS) $(AUTOCONF_FLAGS)" \ KCFLAGS="$(AUTOCONF_FLAGS)" SCST_INC_DIR=$(SCST_INC_DIR) modules -install: all src/ib_srpt.ko +install: all @[ -z "$(DESTDIR)$(INSTALL_MOD_PATH)" ] && \ find /lib/modules/$(KVER) -name ib_srpt.ko -exec rm {} \; ; \ true