diff options
author | Turbo Fredriksson <turbo@bayour.com> | 2013-11-16 03:29:53 +0000 |
---|---|---|
committer | Brian Behlendorf <behlendorf1@llnl.gov> | 2014-06-05 13:46:49 -0700 |
commit | 69c7bdb6e70644bb2efebcee4bf109ace08eb0be (patch) | |
tree | 86f8fac21f17a87bf382282c2cadc0b6a6321f1b /config/zfs-build.m4 | |
parent | 8b974ba036972d601542deec08d68a422a70c9f6 (diff) |
Accept kernel source dir(s) specified by ./configure
This adds ability to set the location of the kernel via defines
when building from the spec files. This is useful when building
against a kernel installed in a non-standard location.
Signed-off-by: Turbo Fredriksson <turbo@bayour.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1874
Diffstat (limited to 'config/zfs-build.m4')
-rw-r--r-- | config/zfs-build.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/zfs-build.m4 b/config/zfs-build.m4 index 477b91678..96a8ec53c 100644 --- a/config/zfs-build.m4 +++ b/config/zfs-build.m4 @@ -141,7 +141,7 @@ AC_DEFUN([ZFS_AC_RPM], [ RPM_DEFINE_COMMON='--define "$(DEBUG_ZFS) 1" --define "$(DEBUG_DMU_TX) 1"' RPM_DEFINE_UTIL= - RPM_DEFINE_KMOD='--define "kernels $(LINUX_VERSION)"' + RPM_DEFINE_KMOD='--define "kernels $(LINUX_VERSION)" --define "require_spldir $(SPL)" --define "require_splobj $(SPL_OBJ)" --define "ksrc $(LINUX)" --define "kobj $(LINUX_OBJ)"' RPM_DEFINE_DKMS= SRPM_DEFINE_COMMON='--define "build_src_rpm 1"' |