653e7d6396
The goal of this work is to remove the explicit dependency for ctl(4) on iscsi(4), so end-users without iscsi(4) support in the kernel can use ctl(4) for its other functions. This allows those without iscsi(4) support built into the kernel to use ctl(4) as a test mechanism. As a sidenote, this was possible around the 10.0-RELEASE period, but made impossible for end-users without iscsi(4) between 10.0-RELEASE and 11.0-RELEASE. Automatically load cfiscsi(4) from ctladm(8) and ctld(8) for backwards compatibility with previously releases. The automatic loading feature is compiled into the beforementioned tools if MK_ISCSI == yes when building world. Add a manpage for cfiscsi(4) and refer to it in ctl(4). Differential Revision: D10099 MFC after: 2 months Relnotes: yes Reviewed by: mav, trasz Sponsored by: Dell EMC Isilon
13 lines
184 B
Makefile
13 lines
184 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${SRCTOP}/sys/cam/ctl
|
|
|
|
KMOD= cfiscsi
|
|
|
|
#CFLAGS+=-DICL_KERNEL_PROXY
|
|
|
|
MFILES= dev/iscsi/icl_conn_if.m
|
|
SRCS= ctl_frontend_iscsi.c icl_conn_if.h
|
|
|
|
.include <bsd.kmod.mk>
|