Skip to content

Support non-FHS test hosts (nixos) - #1006

Open
vhdirk wants to merge 1 commit into
wolfSSL:masterfrom
vhdirk:support-non-fhs
Open

vhdirk wants to merge 1 commit into
wolfSSL:masterfrom
vhdirk:support-non-fhs

Conversation

@vhdirk

@vhdirk vhdirk commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

On nixOS systems, which don't support Filesystem Hierarchy Standard (FHS), the efi include dir is at a non-standard location.

Copilot AI balanced review requested due to automatic review settings November 26, 2026 10:53

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.

🟡 Changes recommended

The new test fails to compile with a custom GNU_EFI_INCLUDE path because the Makefile omits the parent include directory needed to resolve its EFI headers.

1 open issue
What changed in this PR

This PR makes the unit-test Makefile’s gnu-efi header location configurable to support non-FHS hosts such as NixOS.

Changes:

  • Adds GNU_EFI_INCLUDE, defaulting to /usr/include/efi.
  • Uses the configured path for EFI test detection and compiler include flags.
File Description
tools/​unit-tests/​Makefile Makes EFI header detection and test include paths configurable.

Review effort: Balanced

Comment thread tools/unit-tests/Makefile Resolved
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