From: Thomas Petazzoni Date: Thu, 3 Nov 2011 12:02:40 +0000 (-0400) Subject: Makefile: do not run depmod manually X-Git-Tag: v2.0-pre11~18 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=dc1f0d57008b54beda38cb502407d5a1b1332a27;p=lttng-modules.git Makefile: do not run depmod manually 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 Signed-off-by: Mathieu Desnoyers --- diff --git a/Makefile b/Makefile index c820bcbd..5ac13d7c 100644 --- 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