Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-devel

[Xen-devel] [PATCH] tools/vtpm/Makefile

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] tools/vtpm/Makefile
From: "S.Çağlar Onur" <caglar@xxxxxxxxxxxxx>
Date: Sun, 27 Apr 2008 15:49:56 +0300
Delivery-date: Sun, 27 Apr 2008 05:53:03 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: TÜBİTAK / UEKAE
Reply-to: caglar@xxxxxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.9
Hi;

This patch (against xen-3.2-testing tree) solves following;

zangetsu vtpm # LC_ALL=C make
set -e; @if [ -e /usr/include/gmp.h ]; then \
                make -C vtpm; \
                if [ "y" = "y" ]; then \
                        make -C tpm_emulator; \
                fi \
        else \
                echo "*** Unable to build VTPMs. libgmp could not be found."; \
        fi
/bin/sh: -c: line 0: syntax error near unexpected token `then'
/bin/sh: -c: line 0: `set -e; @if [ -e /usr/include/gmp.h ]; then \'
make: *** [build_sub] Error 2

compiliation error while vtpm enabled builds with xen-3.2-testing

Signed-off-by: S.Çağlar Onur <caglar@xxxxxxxxxxxxx>

diff -r 4073b3ded545 tools/vtpm/Makefile
--- a/tools/vtpm/Makefile       Fri Apr 25 14:03:45 2008 +0100
+++ b/tools/vtpm/Makefile       Sun Apr 27 15:47:40 2008 +0300
@@ -83,7 +83,7 @@
 
 .PHONY: build_sub
 build_sub:
-       set -e; @if [ -e $(GMP_HEADER) ]; then \
+       set -e; if [ -e "$(GMP_HEADER)" ]; then \
                $(MAKE) -C $(VTPM_DIR); \
                if [ "$(BUILD_EMULATOR)" = "y" ]; then \
                        $(MAKE) -C $(TPM_EMULATOR_DIR); \


Cheers
-- 
S.Çağlar Onur <caglar@xxxxxxxxxxxxx>
http://cekirdek.pardus.org.tr/~caglar/

Linux is like living in a teepee. No Windows, no Gates and an Apache in house!

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] tools/vtpm/Makefile, S.Çağlar Onur <=