HomeFreeBSD

Support for cross-compiling kernel modules

Description

Support for cross-compiling kernel modules

In order to correctly cross-compile, one has to pass ARCH and
CROSS_COMPILE make flags to kernel module build calls. Facilitate this
in the same way as for custom CC flag by recognizing KERNEL_-prefixed
configure environment variables of same name.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Phil Sutter <phil@nwl.cc>
Closes #16924

Details

Provenance
n0-1 <p.github@nwl.cc>Authored on Mon, Jan 6, 1:27 AM
GitHub <noreply@github.com>Committed on Mon, Jan 6, 1:27 AM
Parents
rG3a445f2ef5ef: Remove duplicate dedup_legacy_create in common.run
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG18c67d2418c5: Support for cross-compiling kernel modules (authored by n0-1 <p.github@nwl.cc>).Mon, Jan 6, 1:27 AM