]> git.proxmox.com Git - mirror_zfs.git/commit
Add KMODDIR to install target
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 12 Feb 2013 23:56:02 +0000 (15:56 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Sat, 2 Mar 2013 00:55:06 +0000 (16:55 -0800)
commit0298f3d67ff4971513ff848d640ca431a983de43
tree433f4fe6c4f1355a12054b2b7379d1eee68a1998
parentfea77534f0a865bad1c7456bd9fceb1f54976988
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>
module/Makefile.in