projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b946848
)
Only run depmod if installing to / and kernel is the same
author
David Schleef
<ds@schleef.org>
Tue, 12 Feb 2002 01:48:50 +0000
(
01:48
+0000)
committer
David Schleef
<ds@schleef.org>
Tue, 12 Feb 2002 01:48:50 +0000
(
01:48
+0000)
Makefile.modbuild
patch
|
blob
|
history
diff --git
a/Makefile.modbuild
b/Makefile.modbuild
index 510164c693195f9f3bc4b68a36a3d667263cc869..dc01e8da447d65507311d4d0012ba94a32ee4ad3 100644
(file)
--- a/
Makefile.modbuild
+++ b/
Makefile.modbuild
@@
-69,7
+69,11
@@
config: dummy
env -i $(CONFIG_SHELL) ./configure --linuxdir $(LINUXDIR)
modules_install: $(patsubst %, _modinst_%, $(SUBDIRS))
- depmod -a
+ifeq ($(INSTALL_MOD_PATH),)
+ifeq ($(KERNELRELEASE),$(shell uname -r))
+ /sbin/depmod -a
+endif
+endif
_modinst_%:
$(MAKE) -C $(patsubst _modinst_%, %, $@) modules_install