From: Mark McLoughlin <markmc@redhat.com>
To: avi@redhat.com
Cc: kvm@vger.kernel.org, Mark McLoughlin <markmc@redhat.com>
Subject: [PATCH 4/4] kvm: configure: --with-patched-kernel doesn't need kernelversion
Date: Fri, 27 Mar 2009 10:29:38 +0000 [thread overview]
Message-ID: <1238149778-4666-5-git-send-email-markmc@redhat.com> (raw)
In-Reply-To: <1238149778-4666-4-git-send-email-markmc@redhat.com>
DEPMOD_VERSION is only used for kvm.ko, not for e.g. header-sync.
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
---
kernel/configure | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/kernel/configure b/kernel/configure
index 3fd0c94..7a222e4 100755
--- a/kernel/configure
+++ b/kernel/configure
@@ -12,6 +12,7 @@ cross_prefix=
arch=`uname -m`
# don't use uname if kerneldir is set
no_uname=
+# we only need depmod_version for kvm.ko install
depmod_version=
if [ -z "TMPDIR" ] ; then
TMPDIR=.
@@ -80,7 +81,7 @@ if [ -d "$kerneldir/include2" ]; then
kernelsourcedir=${kerneldir%/*}/source
fi
-if [ -n "$no_uname" ]; then
+if [ -n "$no_uname" -a "$want_module" ]; then
if [ -e "$kerneldir/.kernelrelease" ]; then
depmod_version=`cat "$kerneldir/.kernelrelease"`
--
1.6.0.6
next prev parent reply other threads:[~2009-03-27 10:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-27 10:29 [PATCH 0/4] fix header-sync using --with-patched-kernel Mark McLoughlin
2009-03-27 10:29 ` [PATCH 1/4] kvm: configure: remove unused depmod_version Mark McLoughlin
2009-03-27 10:29 ` [PATCH 2/4] kvm: configure: run kernel configure even with --with-patched-kernel Mark McLoughlin
2009-03-27 10:29 ` [PATCH 3/4] kvm: configure: pass --with-patched-kernel to kernel/configure Mark McLoughlin
2009-03-27 10:29 ` Mark McLoughlin [this message]
2009-04-01 8:51 ` [PATCH 0/4] fix header-sync using --with-patched-kernel Avi Kivity
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=1238149778-4666-5-git-send-email-markmc@redhat.com \
--to=markmc@redhat.com \
--cc=avi@redhat.com \
--cc=kvm@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.