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 2b55d48..4285fbf 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