Page MenuHomeFreeBSD

Disable build of LOCAL_MODULES for cross-builds by default.
ClosedPublic

Authored by jhb on Sep 11 2019, 7:09 PM.
Tags
None
Referenced Files
F114787486: D21608.id61942.diff
Wed, Apr 16, 9:26 PM
Unknown Object (File)
Mon, Apr 14, 7:50 AM
Unknown Object (File)
Mon, Apr 14, 5:16 AM
Unknown Object (File)
Sun, Apr 13, 11:44 PM
Unknown Object (File)
Sun, Apr 13, 9:24 PM
Unknown Object (File)
Tue, Mar 25, 10:53 PM
Unknown Object (File)
Mar 10 2025, 8:08 PM
Unknown Object (File)
Feb 6 2025, 8:31 AM
Subscribers

Details

Summary

WITHOUT_LOCAL_MODULES can be set to force it to empty for native
builds. WITH_LOCAL_MODULES can be set to leave it enabled for cross
builds.

This does not use a knob in kern.opts.mk because the options framework
does not currently support options whose default varies on the build
type.

Test Plan
  • tested native (amd64) build both plain and WITHOUT_LOCAL_MODULES=yes
  • tested cross (aarch64) build both plain and WITH_LOCAL_MODULES=yes

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Sep 28 2019, 2:20 PM
This revision was automatically updated to reflect the committed changes.