Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
* [ltt-dev] [PATCH] Makefile: do not run depmod manually
@ 2011-11-03 11:53 Thomas Petazzoni
  2011-11-03 12:04 ` Mathieu Desnoyers
  2011-11-18 21:59 ` Brosseau, Yannick
  0 siblings, 2 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2011-11-03 11:53 UTC (permalink / raw)


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 at free-electrons.com>
---
 Makefile |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index c820bcb..5ac13d7 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
-- 
1.7.4.1





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-11-20 18:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-03 11:53 [ltt-dev] [PATCH] Makefile: do not run depmod manually Thomas Petazzoni
2011-11-03 12:04 ` Mathieu Desnoyers
2011-11-18 21:59 ` Brosseau, Yannick
2011-11-20 18:00   ` Mathieu Desnoyers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox