HomeFreeBSD

Support out-of-tree kmod build on FreeBSD

Description

Support out-of-tree kmod build on FreeBSD

If srcdir != builddir, pass down MAKEOBJDIR to the FreeBSD make to
support out-of-tree builds.

Also allow passing all the gmake options that FreeBSD make understands
to support useful flags like -k, -n, -q etc, and detect the number of
CPUs if -j was specified without an argument.

Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu>
Closes #10493

Details

Provenance
Arvind Sankar <nivedita@alum.mit.edu>Authored on Jun 19 2020, 5:33 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jun 25 2020, 1:18 AM
Parents
rGf21de6883fa5: Add trim_finish notify script for ZED
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG33982eb24c61: Support out-of-tree kmod build on FreeBSD (authored by Arvind Sankar <nivedita@alum.mit.edu>).Jun 25 2020, 1:18 AM