modules/tpm2-tools: add with-sysroot, TSS2_ESYS_3_0_LIBS to configure args

Thanks to @JonathonHall-Purism, that pointed to me that sysroot was
neglected in tpm2-tools configure step.

I wonder why this is not respected if not forced with --with-sysroot and
TSS2_ESYS_3_0_LIBS="-ltss2-esys -L$(INSTALL)/lib"?

Signed-off-by: Thierry Laurion <insurgo@riseup.net>
Signed-off-by: Manuel Mendez <github@i.m.mmlb.dev>
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
This commit is contained in:
Thierry Laurion 2023-07-02 14:21:11 -04:00
parent fcb9596f7e
commit 43d806f205
No known key found for this signature in database
GPG Key ID: 9A53E1BB3FF00461

View File

@ -32,6 +32,9 @@ tpm2-tools_configure := \
--prefix "/" \ --prefix "/" \
--disable-fapi \ --disable-fapi \
CFLAGS="-fdebug-prefix-map=$(INSTALL)=." \ CFLAGS="-fdebug-prefix-map=$(INSTALL)=." \
--with-sysroot=$(INSTALL) \
TSS2_ESYS_3_0_CFLAGS="-I$(INSTALL)/include" \
TSS2_ESYS_3_0_LIBS="-ltss2-esys -L$(INSTALL)/lib" \
tpm2-tools_target := $(MAKE_JOBS) \ tpm2-tools_target := $(MAKE_JOBS) \
DESTDIR="$(INSTALL)" \ DESTDIR="$(INSTALL)" \