]> git.proxmox.com Git - mirror_zfs.git/commit - module/Makefile.in
Support out-of-tree kmod build on FreeBSD
authorArvind Sankar <nivedita@alum.mit.edu>
Fri, 19 Jun 2020 17:33:56 +0000 (13:33 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 25 Jun 2020 01:18:41 +0000 (18:18 -0700)
commit33982eb24c615f78b8f6b5f54c6acb6c29cbf6e3
treef2b0a90f80a9ce0a5c9dcb718915b7fc0e49bd7e
parentf21de6883fa53b83c065aaa1aca7122afafb3c90
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
module/Makefile.in