Whamcloud - gitweb
LU-4124 build: make module installation directory flexible 65/8065/10
authorStephen Champion <schamp@sgi.com>
Fri, 18 Oct 2013 22:02:45 +0000 (15:02 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 18 Nov 2013 12:37:29 +0000 (12:37 +0000)
commit06ba412f4ae34dd3d672efa2f5e9a752e3799ece
tree46d364745ebe621807da259bcdd9018374b2247d
parent869790802c78a41440533512549b96ad7d478428
LU-4124 build: make module installation directory flexible

Add --with-kmp-moddir option to configure.

Distributions vary in the installation directory for kernel modules.

The RHEL standard installation directory is
        /lib/modules/$(uname -r)/extra
while the SLES standard is
        /lib/modules/$(uname -r)/updates

Adding the option --with-kmp-moddir option to configure allows users
to select the appropriate installation target.  With this change, it
is neccessary to support both options in the test framework.

Signed-off-by: Stephen Champion <schamp@sgi.com>
Signed-off-by: Dmitry Eremin <dmitry.eremin@intel.com>
Change-Id: Iec3137e0e5039dd43622c2e285030a5339fa6fd3
Reviewed-on: http://review.whamcloud.com/8065
Reviewed-by: James Simmons <uja.ornl@gmail.com>
Tested-by: Jenkins
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
autoMakefile.am
config/lustre-build-linux.m4
lustre.spec.in
lustre/tests/test-framework.sh