mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-24 07:06:42 +00:00
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:
parent
fcb9596f7e
commit
43d806f205
@ -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)" \
|
||||||
|
Loading…
Reference in New Issue
Block a user