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:
Bart Van Assche
2014-02-14 13:05:55 +00:00
parent af9bfd3cc0
commit e07a91e8a0
7 changed files with 0 additions and 7 deletions

View File

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

View File

@@ -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),)

View File

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

View File

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

View File

@@ -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),)

View File

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

View File

@@ -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),)