From 3cff1e083ffd92c86250bc3b316c9da273141aa3 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Mon, 15 Sep 2014 12:30:43 +0000 Subject: [PATCH] ib_srpt: Make "make -j install" work for n >= 2 if "make all" has not been run first git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5806 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