Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: compudj@krystal.dyndns.org (Mathieu Desnoyers)
Subject: [ltt-dev] [PATCH] Makefile: do not run depmod manually
Date: Thu, 3 Nov 2011 08:04:42 -0400	[thread overview]
Message-ID: <20111103120442.GC15869@Krystal> (raw)
In-Reply-To: <1320321187-2075-1-git-send-email-thomas.petazzoni@free-electrons.com>

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



  reply	other threads:[~2011-11-03 12:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-03 11:53 Thomas Petazzoni
2011-11-03 12:04 ` Mathieu Desnoyers [this message]
2011-11-18 21:59 ` Brosseau, Yannick
2011-11-20 18:00   ` Mathieu Desnoyers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20111103120442.GC15869@Krystal \
    --to=compudj@krystal.dyndns.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox