|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] 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
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!
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 <=
|
|
|
|
|