[pve-devel] Kernel Makefile patch
Stefan Priebe - Profihost AG
s.priebe at profihost.ag
Wed May 23 15:31:14 CEST 2012
Hi list,
i got some problems compiling the iscsitarget module with make from the
git repo.
The makefile of the iscsitarget do not know the used parameter KVER
instead it uses KSRC. This has the nice sideffect that we do not need
/lib/modules/${KVNAME}.
make
@@ -193,9 +193,7 @@ ixgbe.ko ixgbe: ${IXGBESRC}
iscsi_trgt.ko: ${ISCSITARGETSRC}
rm -rf ${ISCSITARGETDIR}
tar xf ${ISCSITARGETSRC}
- mkdir -p /lib/modules/${KVNAME}
- ln -sf ${TOP}/${KERNEL_SRC} /lib/modules/${KVNAME}/build
- cd ${ISCSITARGETDIR}; make KVER=${KVNAME}
+ cd ${ISCSITARGETDIR}; make KSRC=${TOP}/${KERNEL_SRC}
cp ${ISCSITARGETDIR}/kernel/iscsi_trgt.ko iscsi_trgt.ko
headers_tmp := $(CURDIR)/tmp-headers
Stefan
More information about the pve-devel
mailing list