From: Matthew Fioravante <matthew.fioravante@jhuapl.edu>
To: Ian Jackson <Ian.Jackson@eu.citrix.com>
Cc: Ian Campbell <Ian.Campbell@citrix.com>,
"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: [PATCH VTPM v4 3/5] vtpm/vtpmmgr and required libs to stubdom/Makefile
Date: Thu, 29 Nov 2012 08:54:13 -0500 [thread overview]
Message-ID: <50B76905.90503@jhuapl.edu> (raw)
In-Reply-To: <20663.18917.138256.303363@mariner.uk.xensource.com>
[-- Attachment #1.1: Type: text/plain, Size: 1428 bytes --]
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.
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.
If we don't want to do this now, then I vote to just make cmake a
dependency for Xen without adding messy conditional hacks.
On 11/29/2012 06:41 AM, Ian Jackson wrote:
> Ian Jackson writes ("Re: [PATCH VTPM v4 3/5] vtpm/vtpmmgr and required libs to stubdom/Makefile"):
>> I guess it would be possible to have an ad-hoc switch in Config.mk
>> (say) but I'm not sure this is better than just adding cmake as a hard
>> dependency.
> Although, can we have a manual y/n switch in Config.mk so that if
> someone has trouble with this feature they can turn off the build ?
>
> Thanks,
> Ian.
[-- Attachment #1.2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 1459 bytes --]
[-- Attachment #2: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
next prev parent reply other threads:[~2012-11-29 13:54 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-20 14:21 [PATCH VTPM v4 1/5] add vtpm-stubdom code Matthew Fioravante
2012-11-20 14:21 ` [PATCH VTPM v4 2/5] add stubdom/vtpmmgr code Matthew Fioravante
2012-11-20 14:25 ` Matthew Fioravante
2012-11-20 14:21 ` [PATCH VTPM v4 3/5] vtpm/vtpmmgr and required libs to stubdom/Makefile Matthew Fioravante
2012-11-20 15:45 ` Samuel Thibault
2012-11-23 9:59 ` Ian Campbell
2012-11-29 11:39 ` Ian Jackson
2012-11-29 11:41 ` Ian Jackson
2012-11-29 13:54 ` Matthew Fioravante [this message]
2012-11-29 16:03 ` Ian Campbell
2012-11-29 17:54 ` Ian Jackson
2012-11-29 18:30 ` Matthew Fioravante
2012-11-20 14:21 ` [PATCH VTPM v4 4/5] Add vtpm documentation Matthew Fioravante
2012-11-20 14:21 ` [PATCH VTPM v4 5/5] Add cmake dependency to README Matthew Fioravante
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=50B76905.90503@jhuapl.edu \
--to=matthew.fioravante@jhuapl.edu \
--cc=Ian.Campbell@citrix.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=xen-devel@lists.xen.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.