From 66f00d3e5dc6f375a425fd9cda0c09fa3c85aa96 Mon Sep 17 00:00:00 2001 From: David Garske Date: Thu, 8 Aug 2024 10:29:28 -0700 Subject: [PATCH] Fix unit test and new `WOLFBOOT_USE_PCI`. --- tools/unit-tests/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/unit-tests/Makefile b/tools/unit-tests/Makefile index dd1ff21ca..76945aaa7 100644 --- a/tools/unit-tests/Makefile +++ b/tools/unit-tests/Makefile @@ -59,7 +59,7 @@ unit-delta:CFLAGS+=-DNVM_FLASH_WRITEONCE -DMOCK_PARTITIONS -DDELTA_UPDATES -DDEL -WOLFCRYPT_CFLAGS+=-DWOLFSSL_USER_SETTINGS -DWOLFBOOT_SIGN_ECC256 -DWOLFBOOT_SIGN_ECC256 -DHAVE_ECC_KEY_IMPORT -D__WOLFBOOT +WOLFCRYPT_CFLAGS+=-DWOLFSSL_USER_SETTINGS -DWOLFBOOT_SIGN_ECC256 -DWOLFBOOT_SIGN_ECC256 -DHAVE_ECC_KEY_IMPORT -D__WOLFBOOT @@ -86,7 +86,7 @@ unit-chacha20: ../../include/target.h unit-extflash.c gcc -o $@ $^ $(CFLAGS) $(LDFLAGS) unit-pci: unit-pci.c ../../src/pci.c - gcc -o $@ $< $(CFLAGS) $(LDFLAGS) + gcc -o $@ $< $(CFLAGS) -DWOLFBOOT_USE_PCI $(LDFLAGS) unit-mock-state: ../../include/target.h unit-mock-state.c gcc -o $@ $^ $(CFLAGS) $(LDFLAGS)