[ltt-dev] [PATCH] Makefile: do not run depmod manually

Mathieu Desnoyers compudj at krystal.dyndns.org
Sun Nov 20 13:00:17 EST 2011


* Brosseau, Yannick (yannick.brosseau at gmail.com) wrote:
> Salut Thomas,
> 
> On Thu, Nov 3, 2011 at 7:53 AM, 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
> 
> That's not exactly true. From the build system we find that:
> # Run depmod only if we have System.map and depmod is executable
> Since we don't have a System.map file in our module tree, this depmod
> execution is mostly a no-op.
> So it is necessary to run a depmod manually after installation.
> 
> It might be something wrong in the kbuild, but I don't know this
> system enough to be able to judge.

I added a comment in the README file to that effect. Thanks,

Mathieu

> 
> Yannick
> 
> _______________________________________________
> 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




More information about the lttng-dev mailing list