mirror of
https://github.com/stefanberger/libtpms
synced 2026-01-04 16:33:49 +00:00
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:
parent
78a29529b2
commit
88dfea52cf
@ -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
|
||||
|
||||
@ -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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user