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)
Wed, Mar 18, 4:23 AM
Unknown Object (File)
Tue, Mar 10, 6:29 PM
Unknown Object (File)
Tue, Mar 10, 12:35 PM
Unknown Object (File)
Tue, Mar 10, 6:35 AM
Unknown Object (File)
Tue, Mar 10, 12:58 AM
Unknown Object (File)
Mar 1 2026, 8:39 PM
Unknown Object (File)
Feb 9 2026, 3:22 PM
Unknown Object (File)
Jan 1 2026, 2:57 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?