From: Mark McLoughlin <markmc@redhat.com>
To: avi@redhat.com
Cc: kvm@vger.kernel.org, Mark McLoughlin <markmc@redhat.com>
Subject: [PATCH 3/4] kvm: configure: pass --with-patched-kernel to kernel/configure
Date: Fri, 27 Mar 2009 10:29:37 +0000 [thread overview]
Message-ID: <1238149778-4666-4-git-send-email-markmc@redhat.com> (raw)
In-Reply-To: <1238149778-4666-3-git-send-email-markmc@redhat.com>
We need to know this so that we can avoid doing things that
are specific to building kvm.ko - e.g. when we are only
doing header-sync.
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
---
configure | 1 +
kernel/configure | 4 ++++
2 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index 49c4419..249c743 100755
--- a/configure
+++ b/configure
@@ -121,6 +121,7 @@ arch=${arch%%-*}
./configure \
--kerneldir="$kerneldir" \
--arch="$arch" \
+ $([ -z ${want_module} ] && echo "--with-patched-kernel") \
${cross_prefix:+"--cross-prefix=$cross_prefix"} \
${kvm_trace:+"--with-kvm-trace"}
)
diff --git a/kernel/configure b/kernel/configure
index 79fb093..3fd0c94 100755
--- a/kernel/configure
+++ b/kernel/configure
@@ -6,6 +6,7 @@ cc=gcc
ld=ld
objcopy=objcopy
ar=ar
+want_module=1
kvm_trace=
cross_prefix=
arch=`uname -m`
@@ -44,6 +45,9 @@ while [[ "$1" = -* ]]; do
kerneldir="$arg"
no_uname=1
;;
+ --with-patched-kernel)
+ want_module=
+ ;;
--with-kvm-trace)
kvm_trace=y
;;
--
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 ` Mark McLoughlin [this message]
2009-03-27 10:29 ` [PATCH 4/4] kvm: configure: --with-patched-kernel doesn't need kernelversion Mark McLoughlin
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-4-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.