depmod on all modules
authorGuo-Fu Tseng <cooldavid@cooldavid.org>
Tue, 28 Jun 2011 08:49:15 +0000 (16:49 +0800)
committerGuo-Fu Tseng <cooldavid@cooldavid.org>
Tue, 28 Jun 2011 11:20:51 +0000 (19:20 +0800)
Makefile

index 2b55d4881d2f954d7a447c24d6447df086c4200d..4285fbf4486f0aba793653e19c9bbbdba9e1f399 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -36,7 +36,7 @@ namespacecheck: modules
 
 install: modules
        install -m 644 $(MODNAME).ko $(MINSTDIR)
-       depmod $(KVER) $(MINSTDIR)/$(MODNAME).ko
+       depmod -a $(KVER)
 
 patch:
        @/usr/bin/diff -uar -X dontdiff ../../trunc ./ > bc.patch || echo > /dev/null