xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Matthew Fioravante <matthew.fioravante@jhuapl.edu>
To: "xen-devel@lists.xen.org" <xen-devel@lists.xen.org>,
	Ian Campbell <Ian.Campbell@citrix.com>
Subject: [PATCH special] vtpm fix cmake dependency
Date: Thu, 13 Dec 2012 10:22:50 -0500	[thread overview]
Message-ID: <50C9F2CA.1010602@jhuapl.edu> (raw)


[-- Attachment #1.1.1: Type: text/plain, Size: 928 bytes --]

Ian, this one is special just for you. I'm sending it as an attachment 
because my email client will mangle it.
This patch will remove the cmake dependency from xen prior to autoconf 
stubdom

This patch applies ontop of [VTPM v7 3/8] vtpm/vtpmmgr and required libs 
to stubdom/Makefile

You can apply it to your tree by doing the following:

git rebase -i <VTPM v7 3/8 revision>

Select to EDIT the 3/8 revision

patch -p1 < 0004-Remove-vtpm-from-default-build-targets.patch

git commit --amend

git rebase --continue

You will hit conflicts with the autoconf patch, just edit 
stubdom/Makefile and accept all of the updates from the autoconf patch. 
Namely changing the TARGETS variable, build rule, and install rule

git add stubdom/Makefile
git commit
git rebase --continue


If you'd prefer not to go through these gyrations, I can send an updated 
full vtpm patchset with the fix merged in.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.1.2: 0004-Remove-vtpm-from-default-build-targets.patch --]
[-- Type: text/x-patch; name="0004-Remove-vtpm-from-default-build-targets.patch", Size: 1382 bytes --]

From 6feee4bb2be06b0853558e51d4384df2c4df1b68 Mon Sep 17 00:00:00 2001
From: Matthew Fioravante <matthew.fioravante@jhuapl.edu>
Date: Thu, 13 Dec 2012 10:10:54 -0500
Subject: [PATCH 4/9] Remove vtpm from default build targets

Signed-off-by: Matthew Fioravante <matthew.fioravante@jhuapl.edu>
---
 stubdom/Makefile |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/stubdom/Makefile b/stubdom/Makefile
index fc70d88..357ee70 100644
--- a/stubdom/Makefile
+++ b/stubdom/Makefile
@@ -86,12 +86,12 @@ TARGET_CPPFLAGS += -I$(XEN_ROOT)/xen/include
 
 TARGET_LDFLAGS += -nostdlib -L$(CROSS_PREFIX)/$(GNU_TARGET_ARCH)-xen-elf/lib
 
-TARGETS=ioemu c caml grub xenstore vtpm vtpmmgr
+TARGETS=ioemu c caml grub xenstore 
 
 .PHONY: all
 all: build
 ifeq ($(STUBDOM_SUPPORTED),1)
-build: genpath ioemu-stubdom c-stubdom pv-grub xenstore-stubdom vtpm-stubdom vtpmmgrdom
+build: genpath ioemu-stubdom c-stubdom pv-grub xenstore-stubdom 
 else
 build: genpath
 endif
@@ -483,7 +483,7 @@ xenstore-stubdom: mini-os-$(XEN_TARGET_ARCH)-xenstore libxc xenstore
 #########
 
 ifeq ($(STUBDOM_SUPPORTED),1)
-install: genpath install-readme install-ioemu install-grub install-xenstore install-vtpm install-vtpmmgr
+install: genpath install-readme install-ioemu install-grub install-xenstore 
 else
 install: genpath
 endif
-- 
1.7.10.4


[-- 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

             reply	other threads:[~2012-12-13 15:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-13 15:22 Matthew Fioravante [this message]
2012-12-18 11:31 ` [PATCH special] vtpm fix cmake dependency Ian Campbell
2012-12-18 11:46   ` Ian Campbell
2012-12-18 14:13     ` Ian Campbell
2012-12-18 15:23       ` Fioravante, Matthew E.
2012-12-18 15:27         ` Ian Campbell

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=50C9F2CA.1010602@jhuapl.edu \
    --to=matthew.fioravante@jhuapl.edu \
    --cc=Ian.Campbell@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).