diff --git a/modules/tpm2-tools b/modules/tpm2-tools index bba25bc5..dbc86ebf 100644 --- a/modules/tpm2-tools +++ b/modules/tpm2-tools @@ -31,6 +31,9 @@ tpm2-tools_configure := \ --host $(MUSL_ARCH)-elf-linux \ --prefix "/" \ --disable-fapi \ + --with-sysroot=$(INSTALL) \ + TSS2_ESYS_3_0_CFLAGS="-I$(INSTALL)/include" \ + TSS2_ESYS_3_0_LIBS="-ltss2-esys -L$(INSTALL)/lib" \ CFLAGS="-fdebug-prefix-map=$(INSTALL)=." \ tpm2-tools_target := $(MAKE_JOBS) \ diff --git a/modules/tpm2-tss b/modules/tpm2-tss index c8c1c84e..91e1a26c 100644 --- a/modules/tpm2-tss +++ b/modules/tpm2-tss @@ -21,6 +21,7 @@ tpm2-tss_configure := aclocal && automake --add-missing && autoreconf -fi \ $(CROSS_TOOLS) \ --host $(MUSL_ARCH)-elf-linux \ --prefix "/" \ + --with-sysroot=$(INSTALL) \ --disable-doxygen-doc \ --disable-doxygen-html \ --disable-doxygen-man \