Re: [PATCH V3] kvm tools: Add build target for statically-linked binary

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
> ---
> 
> 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
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux