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/spl'.

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/spl' 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 12 2013, 11:56 PM
Parents
rGfea77534f0a8: Fix spl_config.h install permissions
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG0298f3d67ff4: Add KMODDIR to install target (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Mar 2 2013, 12:55 AM