Skip to content

Commit 9b67b92

Browse files
committed
Fix regression in unit tests
1 parent 606e875 commit 9b67b92

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tools/unit-tests/Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,11 @@ unit-tpm-blob: ../../include/target.h unit-tpm-blob.c
132132
-DWOLFBOOT_HASH_SHA256 \
133133
-ffunction-sections -fdata-sections $(LDFLAGS) -Wl,--gc-sections
134134

135-
unit-policy-sign: ../../include/target.h unit-policy-sign.c
135+
unit-policy-sign: ../../include/target.h unit-policy-sign.c \
136+
$(WOLFBOOT_LIB_WOLFSSL)/wolfcrypt/src/memory.c
136137
gcc -o $@ $^ -I../tpm $(CFLAGS) -I$(WOLFBOOT_LIB_WOLFTPM) -DWOLFBOOT_TPM \
137138
-DWOLFTPM_USER_SETTINGS -DWOLFBOOT_SIGN_ECC256 -DWOLFBOOT_HASH_SHA256 \
138-
-DHAVE_ECC -DHAVE_ECC_KEY_IMPORT \
139+
-DHAVE_ECC_KEY_IMPORT \
139140
-ffunction-sections -fdata-sections $(LDFLAGS) -Wl,--gc-sections
140141

141142
unit-store-sbrk: unit-store-sbrk.c ../../src/store_sbrk.c

0 commit comments

Comments
 (0)