quickfixes: tc3+static lib - #878
Draft
bigbrett wants to merge 2 commits into
Draft
Conversation
Contributor
There was a problem hiding this comment.
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=libraryand recommendsmake libwolfboot.afor platform builds. - Extends
make cleanto removelibwolfboot.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 on lines
+29
to
+30
| $(WOLFBOOT_LIB_WOLFHSM)/src/wh_dma.o \ | ||
| $(WOLFBOOT_LIB_WOLFHSM)/src/wh_server_dma.o \ |
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`). |
| $(Q)rm -f $(WH_NVM_BIN) $(WH_NVM_HEX) | ||
| $(Q)rm -f test-lib | ||
| $(Q)rm -f lib-fs | ||
| $(Q)rm -f libwolfboot.a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TARGET=libraryusage