readded depmod on install
authorDavid Schleef <ds@schleef.org>
Fri, 8 Dec 2000 01:09:33 +0000 (01:09 +0000)
committerDavid Schleef <ds@schleef.org>
Fri, 8 Dec 2000 01:09:33 +0000 (01:09 +0000)
Makefile.modbuild

index 205f25dfb2be8df31cf366320beb6edfbb1576a6..d8f43fe11290634fe0001268012a8aae282a41e7 100644 (file)
@@ -102,7 +102,11 @@ install:   dummy
 ifneq ($(MODULES_PCMCIA),)
        install ${MODULES_PCMCIA} ${MOD_INSTALL_PATH}/lib/modules/${UTS_VERSION}/pcmcia
 endif
-       #/sbin/depmod -a ${UTS_VERSION}
+ifeq (${MOD_INSTALL_PATH},)
+       /sbin/depmod -a ${UTS_VERSION}
+else
+       echo 'depmod -a not run'
+endif
 
 
 ifeq ($(CONFIG_MODVERSIONS),y)