aboutsummaryrefslogtreecommitdiffstats
path: root/tpm-util/duplicate/sampleMakefile
diff options
context:
space:
mode:
authorPramod Raghavendra Jayathirth <pramod.raghavendra.jayathirth@intel.com>2019-02-26 08:41:02 -0800
committerPramod <pramod.raghavendra.jayathirth@intel.com>2019-04-03 22:56:57 +0000
commit627d269bcc8761058b2d14a9be2a6fe706f065a8 (patch)
treeb0b07f4410d6fff7e50d6013a5d88bb3e2712f98 /tpm-util/duplicate/sampleMakefile
parent7626b75b3c71173ba62c2f92d22bab8f4291e44a (diff)
Upgrade Duplicate utility to the latest tss
This patch updates the Duplicate utility to match with the latest tss stack Issue-ID: AAF-763 Change-Id: I08a01b193e8cf550fa1cfcbe0781672b3051eb96 Signed-off-by: Pramod Raghavendra Jayathirth <pramod.raghavendra.jayathirth@intel.com>
Diffstat (limited to 'tpm-util/duplicate/sampleMakefile')
-rw-r--r--tpm-util/duplicate/sampleMakefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/tpm-util/duplicate/sampleMakefile b/tpm-util/duplicate/sampleMakefile
index d3745d8..f54ee2b 100644
--- a/tpm-util/duplicate/sampleMakefile
+++ b/tpm-util/duplicate/sampleMakefile
@@ -6,8 +6,8 @@ AR = ar
LDDFLAGS += -fPIC
ARFLAGS = -rc
-TSS_DIR?=/tpm2-tss
-OPENSSL_DIR?=/usr/local/bin/openssl
+TSS_DIR?=/tpm2-tss2
+OPENSSL_DIR?=/usr/local/ssl
OUTPUT=ossl_tpm_duplicate
@@ -18,10 +18,9 @@ OBJS= util.o \
main.o
-CFLAGS += -g -fPIC -I./include -I${TSS_DIR}/include/ -I$(TSS_DIR)/sysapi/include #-I${OPENSSL_DIR}/include/
+CFLAGS += -g -fPIC -I./include -I${TSS_DIR}/include -I$(TSS_DIR)/sysapi/include -I${OPENSSL_DIR}/include
-
-LDFLAGS += -ldl -L/usr/local/lib/ -lsapi -ltcti-device -ltcti-tabrmd
+LDFLAGS += -ldl -L/usr/local/lib -L${OPENSSL_DIR}/lib -ltss2-tcti-tabrmd -ltss2-mu
LIBS = -lpthread -lcrypto -lssl