Add KMODDIR to install target
authorBrian Behlendorf <behlendorf1@llnl.gov>
Sun, 17 Feb 2013 19:05:11 +0000 (11:05 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 6 Mar 2013 23:46:40 +0000 (15:46 -0800)
commitd09f98a9a688905a06a4bd2a92752bebe0f28e63
tree7cde203cbc8f229f5df37b98d97501f915c3da7a
parentfd2b4aa71a53f3565522675de97b872c104383f4
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>
module/Makefile.in