25c46877b2
written by Sagi Grimberg <sagig at mellanox.com> and Max Gurtovoy <maxg at mellanox.com>. This code comes from https://github.com/sagigrimberg/iser-freebsd, branch iser-rebase-11-current-r291993. It's not connected to the build just yet; it still needs some tweaks to adapt to my changes to iSCSI infrastructure. Big thanks to Mellanox for their support for FreeBSD! Obtained from: Mellanox Technologies MFC after: 1 month Relnotes: yes
33 lines
612 B
Makefile
33 lines
612 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../dev/iser/
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
KMOD= iser
|
|
|
|
SRCS= icl_iser.c
|
|
SRCS+= iser_initiator.c
|
|
SRCS+= iser_memory.c
|
|
SRCS+= iser_verbs.c
|
|
SRCS+= vnode_if.h
|
|
SRCS+= opt_inet.h
|
|
SRCS+= opt_inet6.h
|
|
SRCS+= opt_cam.h
|
|
SRCS+= bus_if.h
|
|
SRCS+= device_if.h
|
|
SRCS+= icl_conn_if.h
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../
|
|
CFLAGS+= -I${SYSDIR}/ofed/include
|
|
CFLAGS+= -I${SYSDIR}/compat/linuxkpi/common/include
|
|
CFLAGS+= -DCONFIG_INFINIBAND_USER_MEM
|
|
CFLAGS+= -DINET6 -DINET
|
|
CFLAGS+= -fms-extensions
|
|
|
|
CFLAGS+=-DICL_KERNEL_PROXY
|
|
|
|
MFILES= kern/bus_if.m kern/device_if.m dev/iscsi/icl_conn_if.m
|
|
|
|
.include <bsd.kmod.mk>
|