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)
Sat, Sep 27, 8:19 PM
Unknown Object (File)
Sep 13 2025, 4:35 AM
Unknown Object (File)
Sep 10 2025, 3:48 PM
Unknown Object (File)
Sep 8 2025, 1:23 PM
Unknown Object (File)
Sep 3 2025, 7:06 PM
Unknown Object (File)
Sep 2 2025, 6:04 AM
Unknown Object (File)
Aug 31 2025, 5:31 PM
Unknown Object (File)
Aug 31 2025, 5:16 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?