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

Re: [Xen-devel] [PATCH VTPM v4 3/5] vtpm/vtpmmgr and required libs to stubdom/Makefile



On Thu, 2012-11-29 at 13:54 +0000, Matthew Fioravante wrote:
> As annoying as it may be, I think having a configure script or something 
> similar is the only right answer. More hidden makefile variables and 
> hacks makes everything more complicated. Before the existence of the 
> configure script Xen's build system was a huge pain to work with. Its 
> still not perfect.
> 
> So here are 2 proposals:
> 
> Add a configure.ac to stubdom. I can whip up a simple one where you can 
> enable/disable specific stub domains. Other options could be setting the 
> fetch urls for the libraries. People can add more options later. Now if 
> people disable vtpm, the check for cmake goes away.

I think I would like this best, with a simple configure.ac at the
top-level which has the absolute minimum boiler plate plus
"AC_CONFIG_SUBDIRS([tools stubdom])" (and eventually docs
too) to call down as appropriate and appropriate runes in autogen.sh to
regenerate everything in one go.

> Move /tools/configure.ac to /configure.ac. Use this configure script to 
> configure the entire build. /Makefile still exists and works with or 
> without configuring, to enable building of the hypervisor.

I think there was some sort of practical glitch which stopped us doing
this originally, but I can't remember what it was.

Or maybe it was just that it made it to easy to accidentally slip a
configure dependency into the hypervisor code.

Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.