Fix fwTPM unit test CI config

pull/792/head
Daniele Lacamera 2026-06-10 15:39:32 +02:00
parent 87fc929644
commit 9bfecfb617
2 changed files with 4 additions and 2 deletions

View File

@ -86,4 +86,6 @@ jobs:
echo "=== Building unit tests with external paths ==="
make -C tools/unit-tests \
WOLFBOOT_LIB_WOLFSSL="$(realpath ../external-libs/wolfssl)" \
WOLFBOOT_LIB_WOLFPKCS11="$(realpath ../external-libs/wolfPKCS11)"
WOLFBOOT_LIB_WOLFPKCS11="$(realpath ../external-libs/wolfPKCS11)" \
WOLFBOOT_LIB_WOLFPSA="$(realpath ../external-libs/wolfPSA)" \
WOLFBOOT_LIB_WOLFTPM="$(realpath ../external-libs/wolfTPM)"

View File

@ -215,7 +215,7 @@ unit-fwtpm-stub: ../../include/target.h unit-fwtpm-stub.c
unit-fwtpm-nv-oob: ../../include/target.h unit-fwtpm-nv-oob.c
gcc -o $@ $^ $(CFLAGS) -I$(WOLFBOOT_LIB_WOLFTPM) \
$(LDFLAGS)
-DWOLFTPM_USER_SETTINGS $(LDFLAGS)
unit-tpm-blob: ../../include/target.h unit-tpm-blob.c
gcc -o $@ $^ $(CFLAGS) -I$(WOLFBOOT_LIB_WOLFTPM) -DWOLFBOOT_TPM \