Skip to contentSkip to conversation

tools/vtpm/Makefile

PATCH New S.Çağlar Onur 1 participant 1 message Apr 27, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools/vtpm/Makefile

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

tools/vtpm/Makefile +1 -1
diff -r 4073b3ded545 tools/vtpm/Makefile
@@ -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

Signature · 4 lines
S.Çağlar Onur <[email protected]>
http://cekirdek.pardus.org.tr/~caglar/

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

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel