[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 2/4] tools: add pkg-config file for libxc
On 28/02/17 12:13, Ian Jackson wrote: > Juergen Gross writes ("[PATCH 2/4] tools: add pkg-config file for libxc"): >> When configuring the build of qemu the configure script is building >> various test programs to determine the exact version of libxencontrol. >> >> Instead of a try and error approach needing updates for nearly each >> new version of Xen just provide xencontrol.pc to be used via >> pkg-config. >> >> In the end we need two different variants of that file: one for the >> target system where eventually someone wants to build qemu, and one >> for the local system to be used for building qemu as part of the Xen >> build process. > > I've not seen this done elsewhere, but I can see why it's attractive. Thanks. > I worry though that we're breaking new ground. Did you come up with > this idea yourself ? Yes. > Are you aware of other projects that do something similar ? No. TBH: did you have a look at qemu's configure script and how Xen support is handled there? I'm really astonished they accept such a hackery. And I don't see why it would be wrong to use the same basic mechanism for our internal build as for any "normal" build outside of the Xen build environment. The next step would be to add the other Xen libraries and their dependencies in order to get rid of all the additional include and library directories when calling configure for qemu. Juergen _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |