From dc1f0d57008b54beda38cb502407d5a1b1332a27 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Thu, 3 Nov 2011 08:02:40 -0400 Subject: [PATCH] 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 --- Makefile | 1 - 1 file changed, 1 deletion(-) 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 -- 2.34.1