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

Brosseau, Yannick yannick.brosseau at gmail.com
Fri Nov 18 16:59:10 EST 2011


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.

Yannick




More information about the lttng-dev mailing list