HomeFreeBSD

Add KMODDIR to install target

Description

Add KMODDIR to install target

Provide a mechanism to control the directory name the modules
are installed in. The kernel privdes INSTALL_MOD_DIR for
this but it was hardcoded to be 'addon/zfs'.

Add a KMODDIR variable which can be passed to 'make install'
to override the default directory name. While we're here
change the default from 'addon/zfs' to 'extra' which is the
kernel.org default.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Feb 17 2013, 7:05 PM
Parents
rGfd2b4aa71a53: Fix zfs_config.h install permissions
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGd09f98a9a688: Add KMODDIR to install target (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Mar 6 2013, 11:46 PM