From: "Richard Yao" <ryao@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/genkernel:ryao commit in: /
Date: Mon, 5 Nov 2012 18:30:28 +0000 (UTC) [thread overview]
Message-ID: <1350332033.d3e34636b1854176fbcfc7fe14d4141c7f7be1f9.ryao@gentoo> (raw)
commit: d3e34636b1854176fbcfc7fe14d4141c7f7be1f9
Author: Peter Hjalmarsson <xake <AT> rymdraket <DOT> net>
AuthorDate: Mon Oct 15 20:00:04 2012 +0000
Commit: Richard Yao <ryao <AT> gentoo <DOT> org>
CommitDate: Mon Oct 15 20:13:53 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/genkernel.git;a=commit;h=d3e34636
Fix calling of depmod
"depmod -e" needs either -F System.map or -E Module.symvers
"depmod -b" resolvs an empty argument to PWD, so only use -b if
INSTALL_MOD_PATH is actually set
---
gen_compile.sh | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/gen_compile.sh b/gen_compile.sh
index 71f5a68..ccc8b8d 100755
--- a/gen_compile.sh
+++ b/gen_compile.sh
@@ -302,7 +302,12 @@ compile_modules() {
[ "${INSTALL_MOD_PATH}" != '' ] && export INSTALL_MOD_PATH
MAKEOPTS="${MAKEOPTS} -j1" compile_generic "modules_install" kernel
print_info 1 " >> Generating module dependency data..."
- depmod -a -e -b "${INSTALL_MOD_PATH}"/lib/modules/$KV ${KV}
+ if [ "${INSTALL_MOD_PATH}" != '' ]
+ then
+ depmod -a -e -F "${KERNEL_OUTPUTDIR}"/System.map -b "${INSTALL_MOD_PATH}" ${KV}
+ else
+ depmod -a -e -F "${KERNEL_OUTPUTDIR}"/System.map ${KV}
+ fi
unset UNAME_MACHINE
}
next reply other threads:[~2012-11-05 18:31 UTC|newest]
Thread overview: 70+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-05 18:30 Richard Yao [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-10-02 12:43 [gentoo-commits] proj/genkernel:ryao commit in: / Richard Yao
2013-10-02 12:43 Richard Yao
2013-10-02 12:43 Richard Yao
2013-06-09 13:57 Richard Yao
2013-06-09 13:57 [gentoo-commits] proj/genkernel:master " Richard Yao
2013-06-09 13:57 ` [gentoo-commits] proj/genkernel:ryao " Richard Yao
2013-06-09 13:57 Richard Yao
2013-06-09 13:33 Richard Yao
2013-06-09 13:33 Richard Yao
2013-06-09 13:17 Richard Yao
2013-06-09 13:17 Richard Yao
2013-06-09 10:05 Richard Yao
2013-06-09 10:05 Richard Yao
2013-06-09 10:02 Richard Yao
2013-06-09 10:02 Richard Yao
2013-06-09 9:58 Richard Yao
2013-06-09 9:58 Richard Yao
2013-06-09 9:57 Richard Yao
2013-06-09 9:53 Richard Yao
2013-06-09 9:51 Richard Yao
2013-06-09 9:49 Richard Yao
2013-06-09 8:32 Richard Yao
2013-06-09 8:32 Richard Yao
2013-06-09 8:32 Richard Yao
2013-06-09 8:32 Richard Yao
2013-06-09 8:32 Richard Yao
2013-06-09 8:16 Richard Yao
2013-06-09 7:58 Richard Yao
2013-06-09 6:43 Richard Yao
2013-06-06 6:09 Richard Yao
2013-06-06 5:57 Richard Yao
2013-06-06 5:54 Richard Yao
2013-06-06 3:52 Richard Yao
2013-06-06 3:36 Richard Yao
2013-06-06 3:36 Richard Yao
2013-06-06 3:36 Richard Yao
2013-06-06 3:36 Richard Yao
2013-06-03 23:49 [gentoo-commits] proj/genkernel:master " Richard Yao
2013-06-06 3:36 ` [gentoo-commits] proj/genkernel:ryao " Richard Yao
2013-06-03 23:49 Richard Yao
2013-06-03 23:47 Richard Yao
2013-06-03 23:43 Richard Yao
2013-06-03 23:35 Richard Yao
2013-06-03 23:34 Richard Yao
2013-06-03 23:34 Richard Yao
2012-11-11 18:04 Richard Yao
2012-11-11 17:32 Richard Yao
2012-11-05 18:42 Richard Yao
2012-11-05 18:30 Richard Yao
2012-11-05 18:30 Richard Yao
2012-11-05 18:30 Richard Yao
2012-11-05 18:30 Richard Yao
2012-11-05 18:30 Richard Yao
2012-11-05 18:30 Richard Yao
2012-11-05 18:30 Richard Yao
2012-11-05 18:30 Richard Yao
2012-11-05 18:30 Richard Yao
2012-11-05 18:30 Richard Yao
2012-11-05 18:30 Richard Yao
2012-11-05 18:30 Richard Yao
2012-11-05 18:30 Richard Yao
2012-11-05 18:30 Richard Yao
2012-11-05 18:30 Richard Yao
2012-11-05 18:30 Richard Yao
2012-08-25 1:44 Richard Yao
2012-08-25 1:36 Richard Yao
2012-08-25 1:19 Richard Yao
2012-08-25 1:04 Richard Yao
2012-08-16 18:33 Richard Yao
2012-08-16 18:33 Richard Yao
2012-08-16 18:33 Richard Yao
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=1350332033.d3e34636b1854176fbcfc7fe14d4141c7f7be1f9.ryao@gentoo \
--to=ryao@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.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