From: thomas.petazzoni@free-electrons.com (Thomas Petazzoni)
Subject: [ltt-dev] [PATCH] Makefile: do not run depmod manually
Date: Thu, 3 Nov 2011 12:53:07 +0100 [thread overview]
Message-ID: <1320321187-2075-1-git-send-email-thomas.petazzoni@free-electrons.com> (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
next reply other threads:[~2011-11-03 11:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-03 11:53 Thomas Petazzoni [this message]
2011-11-03 12:04 ` Mathieu Desnoyers
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=1320321187-2075-1-git-send-email-thomas.petazzoni@free-electrons.com \
--to=thomas.petazzoni@free-electrons.com \
/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