From: Asias He <asias.hejun@gmail.com>
To: Matt Evans <matt@ozlabs.org>
Cc: KVM list <kvm@vger.kernel.org>, Pekka Enberg <penberg@kernel.org>,
Sasha Levin <levinsasha928@gmail.com>
Subject: Re: [PATCH V3] kvm tools: Add build target for statically-linked binary
Date: Thu, 02 Feb 2012 11:03:02 +0800 [thread overview]
Message-ID: <4F29FCE6.2080309@gmail.com> (raw)
In-Reply-To: <4F29F946.7050504@ozlabs.org>
On 02/02/2012 10:47 AM, Matt Evans wrote:
> This commit adds a target for 'lkvm-static' which is linked -static.
>
> (This can be useful to construct kvmtool binaries for minimalist
> auto-test host filesystems.)
>
> Since extra features (SDL, AIO, VNC etc.) are auto-detected in the makefile
> AND some features may only work when linked one way (but not both), the
> feature detection now checks for both dynamic & static success. Intermediate
> objects build with correct flags (e.g. CONFIG_HAS_AIO) for the end target.
>
> Signed-off-by: Matt Evans <matt@ozlabs.org>
> ---
>
> V3: OK, I solved the problem of "probe for dynamic optional lib, fail to
> link it statically" with a second set of probes, for static optional libs,
> with appropriate dependencies to tie all this back to lkvm-static.
This version works for me. Thanks Matt!
--
Asias He
next prev parent reply other threads:[~2012-02-02 3:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-02 2:47 [PATCH V3] kvm tools: Add build target for statically-linked binary Matt Evans
2012-02-02 3:03 ` Asias He [this message]
2012-02-02 6:56 ` Pekka Enberg
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=4F29FCE6.2080309@gmail.com \
--to=asias.hejun@gmail.com \
--cc=kvm@vger.kernel.org \
--cc=levinsasha928@gmail.com \
--cc=matt@ozlabs.org \
--cc=penberg@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox