From mboxrd@z Thu Jan 1 00:00:00 1970 From: compudj@krystal.dyndns.org (Mathieu Desnoyers) Date: Thu, 3 Nov 2011 08:04:42 -0400 Subject: [ltt-dev] [PATCH] Makefile: do not run depmod manually In-Reply-To: <1320321187-2075-1-git-send-email-thomas.petazzoni@free-electrons.com> References: <1320321187-2075-1-git-send-email-thomas.petazzoni@free-electrons.com> Message-ID: <20111103120442.GC15869@Krystal> * Thomas Petazzoni (thomas.petazzoni at free-electrons.com) wrote: > 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). Merged into lttng-modules, thanks! Mathieu > > Signed-off-by: Thomas Petazzoni > --- > 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 > > > _______________________________________________ > ltt-dev mailing list > ltt-dev at lists.casi.polymtl.ca > http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev > -- Mathieu Desnoyers Operating System Efficiency R&D Consultant EfficiOS Inc. http://www.efficios.com