mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 09:11:27 +00:00
Makefiles: remove redundant 'depmod' invocations
Running 'make modules_install' already triggers invocation of depmod, hence leave it out from those Makefiles that use 'make modules_install'. Signed-off-by: Steven J. Magnani <steve@digidescorp.com> git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5283 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -77,7 +77,6 @@ tgt: Modules.symvers Module.symvers
|
||||
install: all
|
||||
$(MAKE) -C $(KDIR) SUBDIRS=$(shell pwd) BUILD_INI=m \
|
||||
SCST_INC_DIR=$(SCST_INC_DIR) modules_install
|
||||
-depmod -a $(KVER)
|
||||
|
||||
ins:
|
||||
./config
|
||||
|
||||
@@ -60,7 +60,6 @@ tgt: Modules.symvers Module.symvers
|
||||
install: all
|
||||
$(MAKE) -C $(KDIR) SUBDIRS=$(shell pwd) BUILD_INI=m \
|
||||
modules_install
|
||||
-/sbin/depmod -a
|
||||
|
||||
SCST_MOD_VERS := $(shell ls $(SCST_DIR)/Modules.symvers 2>/dev/null)
|
||||
ifneq ($(SCST_MOD_VERS),)
|
||||
|
||||
@@ -77,7 +77,6 @@ tgt: Modules.symvers Module.symvers
|
||||
install: all
|
||||
$(MAKE) -C $(KDIR) SUBDIRS=$(shell pwd) BUILD_INI=m \
|
||||
modules_install
|
||||
-depmod -a $(KVER)
|
||||
|
||||
ins:
|
||||
./config
|
||||
|
||||
@@ -50,7 +50,6 @@ all:
|
||||
install: all
|
||||
$(MAKE) -C $(KDIR) SUBDIRS=$(shell pwd) BUILD_INI=m \
|
||||
modules_install
|
||||
-/sbin/depmod -aq $(KVER)
|
||||
|
||||
uninstall:
|
||||
rm -f $(INSTALL_DIR)/qla2xxxt.ko
|
||||
|
||||
@@ -93,7 +93,6 @@ ifneq ($(BUILD_2X_MODULE),)
|
||||
endif
|
||||
$(MAKE) -C $(KDIR) SUBDIRS=$(shell pwd) BUILD_INI=m \
|
||||
SCST_INC_DIR=$(SCST_INC_DIR) modules_install
|
||||
-/sbin/depmod -a $(KVER)
|
||||
|
||||
uninstall:
|
||||
ifneq ($(BUILD_2X_MODULE),)
|
||||
|
||||
@@ -57,7 +57,6 @@ all:
|
||||
install: all
|
||||
$(MAKE) -C $(KDIR) SUBDIRS=$(shell pwd) \
|
||||
modules_install
|
||||
-/sbin/depmod -a $(KVER)
|
||||
|
||||
uninstall:
|
||||
rm -f $(INSTALL_DIR)/dev_handlers/scst_*.ko
|
||||
|
||||
@@ -50,7 +50,6 @@ all: Modules.symvers Module.symvers
|
||||
install: all
|
||||
$(MAKE) -C $(KDIR) SUBDIRS=$(shell pwd) BUILD_INI=m \
|
||||
SCST_INC_DIR=$(SCST_INC_DIR) modules_install
|
||||
-/sbin/depmod -aq $(KVER)
|
||||
|
||||
SCST_MOD_VERS := $(shell ls $(SCST_DIR)/Modules.symvers 2>/dev/null)
|
||||
ifneq ($(SCST_MOD_VERS),)
|
||||
|
||||
Reference in New Issue
Block a user