From: "=?utf-8?q?S=2E=C3=87a=C4=9Flar?= Onur" Subject: [PATCH] tools/vtpm/Makefile Date: Sun, 27 Apr 2008 15:49:56 +0300 Message-ID: <200804271550.00261.caglar@pardus.org.tr> Reply-To: caglar@pardus.org.tr Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0416815915==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============0416815915== Content-Type: multipart/signed; boundary="nextPart7754607.F3DPZj2uzv"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart7754607.F3DPZj2uzv Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi; This patch (against xen-3.2-testing tree) solves following; zangetsu vtpm # LC_ALL=3DC make set -e; @if [ -e /usr/include/gmp.h ]; then \ make -C vtpm; \ if [ "y" =3D "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.=C3=87a=C4=9Flar Onur diff -r 4073b3ded545 tools/vtpm/Makefile =2D-- 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 @@ =20 .PHONY: build_sub build_sub: =2D set -e; @if [ -e $(GMP_HEADER) ]; then \ + set -e; if [ -e "$(GMP_HEADER)" ]; then \ $(MAKE) -C $(VTPM_DIR); \ if [ "$(BUILD_EMULATOR)" =3D "y" ]; then \ $(MAKE) -C $(TPM_EMULATOR_DIR); \ Cheers =2D-=20 S.=C3=87a=C4=9Flar Onur http://cekirdek.pardus.org.tr/~caglar/ Linux is like living in a teepee. No Windows, no Gates and an Apache in hou= se! --nextPart7754607.F3DPZj2uzv Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (GNU/Linux) iD8DBQBIFHZ4y7E6i0LKo6YRAmovAJwNl+cuCU/UZirmaaQMHNn9OZs/7ACgsVCY WhzXJNA+Hy8pD66QvaOubu8= =zF+x -----END PGP SIGNATURE----- --nextPart7754607.F3DPZj2uzv-- --===============0416815915== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0416815915==--