Skip to content

quickfixes: tc3+static lib - #878

Draft
bigbrett wants to merge 2 commits into
wolfSSL:masterfrom
bigbrett:tc3-tweaks
Draft

quickfixes: tc3+static lib#878
bigbrett wants to merge 2 commits into
wolfSSL:masterfrom
bigbrett:tc3-tweaks

Conversation

@bigbrett

Copy link
Copy Markdown
Contributor
  • Adds missing wolfHSM object files
  • quick doc tweak to clarify TARGET=library usage
  • add static lib to clean target

Copilot AI lite review requested due to automatic review settings August 28, 2026 19:34

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

This PR addresses build and cleanup gaps when building wolfBoot as a library, and clarifies documentation around TARGET=library vs building a platform static archive.

Changes:

  • Adds missing wolfHSM DMA-related object files to the server object list.
  • Clarifies documentation for TARGET=library and recommends make libwolfboot.a for platform builds.
  • Extends make clean to remove libwolfboot.a.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
options.mk Includes additional wolfHSM DMA objects in the server build.
docs/lib.md Clarifies library build modes and how to build the static archive.
Makefile Removes libwolfboot.a during cleanup.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread options.mk
Comment on lines +29 to +30
$(WOLFBOOT_LIB_WOLFHSM)/src/wh_dma.o \
$(WOLFBOOT_LIB_WOLFHSM)/src/wh_server_dma.o \
Comment thread docs/lib.md
Comment on lines +7 to +10
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 thread Makefile
$(Q)rm -f $(WH_NVM_BIN) $(WH_NVM_HEX)
$(Q)rm -f test-lib
$(Q)rm -f lib-fs
$(Q)rm -f libwolfboot.a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants