Makefile: do not run depmod manually
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 3 Nov 2011 12:02:40 +0000 (08:02 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 3 Nov 2011 12:02:40 +0000 (08:02 -0400)
The modules_install target of the kernel build infrastructure already
runs depmod properly, taking into account the cross-compilation
case. Therefore, it is useless to re-run depmod here, and also harmful
since it does not work in cross-compilation contexts (it does the
depmod on the modules installed on the host and not the ones being
built for the target).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Makefile

index c820bcbdb7d6608d8cfdd1fa8dc731fa0de97bf4..5ac13d7ce8da6bcf658235a440e3cdc56ccd1128 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -47,7 +47,6 @@ default:
 
 modules_install:
        $(MAKE) -C $(KERNELDIR) M=$(PWD) modules_install
-       /sbin/depmod -a
 
 clean:
        $(MAKE) -C $(KERNELDIR) M=$(PWD) clean
This page took 0.026358 seconds and 4 git commands to generate.