Page MenuHomeFreeBSD

Disable build of LOCAL_MODULES for cross-builds by default.
Needs ReviewPublic

Authored by jhb on Wed, Sep 11, 7:09 PM.

Details

Reviewers
imp
zeising
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

Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 26403
Build 24860: arc lint + arc unit

Event Timeline

jhb created this revision.Wed, Sep 11, 7:09 PM