From e69f5946062926d3975143e2463c911d40b3e0a5 Mon Sep 17 00:00:00 2001 From: Minh Diep Date: Thu, 20 Nov 2014 08:10:53 -0800 Subject: [PATCH] LU-5941 build: build dkms build at installed source tree Port from: https://github.com/ zfsonlinux/zfs/commit/46bf86a9635266dd399443f5bf5c5f8d0f280aa2 Signed-off-by: Minh Diep Change-Id: If0c8543d955594b4f9dc305c35271a9cc94e1bbd Reviewed-on: http://review.whamcloud.com/12802 Reviewed-by: Bob Glossman Tested-by: Jenkins Reviewed-by: Faccini Bruno Tested-by: Maloo Reviewed-by: Oleg Drokin --- lustre/scripts/dkms.mkconf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/scripts/dkms.mkconf b/lustre/scripts/dkms.mkconf index 03857c5..199d1c5 100755 --- a/lustre/scripts/dkms.mkconf +++ b/lustre/scripts/dkms.mkconf @@ -28,9 +28,9 @@ PRE_BUILD="configure --prefix=/usr --with-linux=\${kernel_source_dir} --with-linux-obj=\${kernel_source_dir} - --with-spl=\${dkms_tree}/spl/\${SPL_VERSION}/build + --with-spl=\${source_tree}/spl-\${SPL_VERSION} --with-spl-obj=\${dkms_tree}/spl/\${SPL_VERSION}/\${kernelver}/\${arch} - --with-zfs=\${dkms_tree}/zfs/\${ZFS_VERSION}/build + --with-zfs=\${source_tree}/zfs-\${ZFS_VERSION} --with-zfs-obj=\${dkms_tree}/zfs/\${ZFS_VERSION}/\${kernelver}/\${arch} --without-ldiskfs --without-lustre-iokit -- 1.8.3.1