We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e06a5f commit 2446911Copy full SHA for 2446911
tools/delta/Makefile
@@ -1,8 +1,16 @@
1
+# Default library paths (can be overridden)
2
+# NOTE: This makefile expects to only be called from the top level
3
+# wolfBoot directory, so use default relative path from there
4
+WOLFBOOT_LIB_WOLFSSL?=./lib/wolfssl
5
+
6
+# Convert to absolute paths for standalone usage
7
+WOLFBOOT_LIB_WOLFSSL:=$(abspath $(WOLFBOOT_LIB_WOLFSSL))
8
9
all: bmdiff bmpatch
10
CFLAGS+=-Wall -Werror -Wextra -DDELTA_UPDATES
11
12
ifeq ($(HASH),SHA3)
- WOLFCRYPT_OBJS+=./lib/wolfssl/wolfcrypt/src/sha3.o
13
+ WOLFCRYPT_OBJS+=$(WOLFBOOT_LIB_WOLFSSL)/wolfcrypt/src/sha3.o
14
CFLAGS+=-D"WOLFBOOT_HASH_SHA3_384"
15
SIGN_OPTIONS+=--sha3
16
else
0 commit comments