set --with-spl to make zfs compile
authorDietmar Maurer <dietmar@proxmox.com>
Tue, 13 Jan 2015 16:01:14 +0000 (17:01 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 13 Jan 2015 16:01:14 +0000 (17:01 +0100)
Makefile

index 0d15c2ce6a737d92471be3cd23531648bb87e755..943f0132216ace1a2f29db5ff5be6f11806dcdf8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -264,7 +264,7 @@ ${ZFS_MODULES}: .compile_mark ${ZFSSRC}
        rm -rf ${ZFSDIR}
        tar xf ${ZFSSRC}
        cd ${ZFSDIR}; ./autogen.sh
-       cd ${ZFSDIR}; ./configure --with-config=kernel --with-linux=${TOP}/${KERNEL_SRC} --with-linux-obj=${TOP}/${KERNEL_SRC}
+       cd ${ZFSDIR}; ./configure --with-spl=${TOP}/${SPLDIR} --with-spl-obj=${TOP}/${SPLDIR} --with-config=kernel --with-linux=${TOP}/${KERNEL_SRC} --with-linux-obj=${TOP}/${KERNEL_SRC}
        cd ${ZFSDIR}; make
        cp ${ZFSDIR}/module/zfs/zfs.ko zfs.ko
        cp ${ZFSDIR}/module/avl/zavl.ko zavl.ko