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
F133420713: D49549.id152804.diff
Sat, Oct 25, 4:31 PM
Unknown Object (File)
Fri, Oct 24, 9:54 PM
Unknown Object (File)
Fri, Oct 24, 6:51 AM
Unknown Object (File)
Fri, Oct 24, 12:22 AM
Unknown Object (File)
Mon, Oct 20, 4:00 AM
Unknown Object (File)
Sun, Oct 19, 3:45 AM
Unknown Object (File)
Sat, Sep 27, 8:19 PM
Unknown Object (File)
Sep 13 2025, 4:35 AM
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?