Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -732,6 +732,7 @@ clean:
$(Q)rm -f $(WH_NVM_BIN) $(WH_NVM_HEX)
$(Q)rm -f test-lib
$(Q)rm -f lib-fs
$(Q)rm -f libwolfboot.a
$(Q)$(MAKE) -C test-app clean V=$(V)
$(Q)$(MAKE) -C tools/check_config -s clean
$(Q)$(MAKE) -C stage1 -s clean
Expand Down
5 changes: 5 additions & 0 deletions docs/lib.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ Instead of building as standalone repository, wolfBoot can be built as
a secure-boot library and integrated in third party bootloaders, custom
staging solutions etc.

This document covers the host-side verification library (`TARGET=library`,
built for `ARCH=sim` with no platform HAL). To build a static library for a
real platform target with all target settings, HAL and update logic
included, build the `libwolfboot.a` make target directly (`make libwolfboot.a`).
Comment on lines +7 to +10


## Library API

Expand Down
2 changes: 2 additions & 0 deletions options.mk
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ WOLFHSM_SERVER_OBJS := \
$(WOLFBOOT_LIB_WOLFHSM)/src/wh_keyid.o \
$(WOLFBOOT_LIB_WOLFHSM)/src/wh_flash_unit.o \
$(WOLFBOOT_LIB_WOLFHSM)/src/wh_crypto.o \
$(WOLFBOOT_LIB_WOLFHSM)/src/wh_dma.o \
$(WOLFBOOT_LIB_WOLFHSM)/src/wh_server_dma.o \
Comment on lines +29 to +30
$(WOLFBOOT_LIB_WOLFHSM)/src/wh_server.o \
$(WOLFBOOT_LIB_WOLFHSM)/src/wh_server_nvm.o \
$(WOLFBOOT_LIB_WOLFHSM)/src/wh_server_crypto.o \
Expand Down
Loading