Page MenuHomeFreeBSD

kern.opts.mk: Remove EFI from riscv BROKEN OPTIONS
ClosedPublic

Authored by emaste on Mar 28 2025, 1:32 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 23, 10:44 PM
Unknown Object (File)
Sun, Nov 23, 6:34 PM
Unknown Object (File)
Oct 30 2025, 7:41 AM
Unknown Object (File)
Oct 29 2025, 9:39 AM
Unknown Object (File)
Oct 29 2025, 9:38 AM
Unknown Object (File)
Oct 29 2025, 9:28 AM
Unknown Object (File)
Oct 26 2025, 6:23 PM
Unknown Object (File)
Oct 25 2025, 4:31 PM
Subscribers

Details

Summary

Make this consistent with EFI's per-arch defaults in src.opts.mk. We build EFI boot programs for RISC-V.

This discrepancy previously caused make makeman to warn riscv/riscv64: ignoring duplicate option EFI.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emaste created this revision.
emaste added a reviewer: mhorne.

Aside from the warning, this should be a no-op, as the only thing gated behind this knob on the kernel side is sys/modules/efirt, which still has an additional MACHINE_CPUARCH check around it.

This revision is now accepted and ready to land.Mar 28 2025, 5:11 PM

Yeah, my motivation here is just the warning from make makeman. I'll note in the commit message that this is NFC.

Shouldn't src.conf.5 (make makeman) be regenerated after this change?