]> git.proxmox.com Git - pve-kernel-3.10.0.git/blobdiff - Makefile
set --with-spl to make zfs compile
[pve-kernel-3.10.0.git] / 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