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 \