From 9bfecfb617c12015ca4e724033cc7fb417a855df Mon Sep 17 00:00:00 2001 From: Daniele Lacamera Date: Wed, 10 Jun 2026 15:39:32 +0200 Subject: [PATCH] Fix fwTPM unit test CI config --- .github/workflows/test-external-library-paths.yml | 4 +++- tools/unit-tests/Makefile | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-external-library-paths.yml b/.github/workflows/test-external-library-paths.yml index 4d437547..9cc000c0 100644 --- a/.github/workflows/test-external-library-paths.yml +++ b/.github/workflows/test-external-library-paths.yml @@ -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)" diff --git a/tools/unit-tests/Makefile b/tools/unit-tests/Makefile index 0175ace2..5fc5e6cc 100644 --- a/tools/unit-tests/Makefile +++ b/tools/unit-tests/Makefile @@ -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 \