[pve-devel] Kernel Makefile patch
Dietmar Maurer
dietmar at proxmox.com
Thu May 24 06:25:14 CEST 2012
committed. Thanks.
- Dietmar
> -----Original Message-----
> From: pve-devel-bounces at pve.proxmox.com [mailto:pve-devel-
> bounces at pve.proxmox.com] On Behalf Of Stefan Priebe - Profihost AG
> Sent: Mittwoch, 23. Mai 2012 15:31
> To: pve-devel at pve.proxmox.com
> Subject: [pve-devel] Kernel Makefile patch
>
> 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
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
More information about the pve-devel
mailing list