tpm2: Build libtpms with TPM 2 code now

Now that patches for writing the state into files and extensions
to their headers have all been applied we can build the TPM 2
code into the library.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
This commit is contained in:
Stefan Berger 2017-07-24 14:08:25 -04:00
parent 78a29529b2
commit 88dfea52cf
2 changed files with 4 additions and 8 deletions

View File

@ -1,8 +1,9 @@
language: c
dist: trusty
before_install:
- sudo apt-get install automake autoconf libtool libssl-dev sed make gawk sed bash dh-exec
script: "./bootstrap.sh && ./configure --with-openssl --prefix=/usr &&
- sudo apt-get install automake autoconf libtool libssl-dev sed make gawk sed bash
dh-exec
script: "./bootstrap.sh && ./configure --with-openssl --prefix=/usr --with-tpm2 &&
make -j4 check"
env:
global:
@ -16,3 +17,4 @@ addons:
build_command_prepend: "./bootstrap.sh; ./configure --with-openssl --with-tpm2; make clean"
build_command: make -j4
branch_pattern: coverity_scan
script: ./bootstrap.sh && ./configure --with-openssl --prefix=/usr --with-tpm2 && make -j4 check

View File

@ -196,12 +196,6 @@ fi
if test -z "$with_tpm2"; then
with_tpm2=no
fi
if test "x$with_tpm2" = "xyes"; then
# remove the following to compile anyway; created vTPM state
# will not be compatible
AC_MSG_ERROR([Not compiling with TPM2 support])
exit 1
fi
echo
echo "CFLAGS=$CFLAGS"