Files
ports/net/isboot-kmod/Makefile
T
John Nielsen 2bf895a027 net/isboot-kmod-devel: beta version of net/isboot-kmod
This installs Daisuke Aoyama's isboot kernel module, which allows
booting FreeBSD directly from an iSCSI root disk. If your BIOS
supports iSCSI you may configure your target settings in the BIOS
and boot directly. If not, you may PXE boot using software that
contains iSCSI support such as iPXE. The module reads the iSCSI
Boot Firmware Table (IBFT) to configure the network and re-attach
the volume once the kernel begins execution.

PR:		289730
2025-10-05 15:44:00 +02:00

46 lines
936 B
Makefile

PORTNAME= isboot-kmod
DISTVERSION= 0.2.15
CATEGORIES= net
MAINTAINER= john@jnielsen.net
COMMENT= Kernel module enabling iSCSI/IBFT boot
WWW= https://github.com/jnielsendotnet/isboot
LICENSE= BSD2CLAUSE
ONLY_FOR_ARCHS= amd64 i386
CONFLICTS_INSTALL= isboot-kmod-devel
USES= kmod uidfix
USE_GITHUB= yes
GH_ACCOUNT= jnielsendotnet
GH_PROJECT= isboot
SUB_FILES= pkg-message
WRKSRC_SUBDIR= src
PLIST_FILES= ${KMODDIR}/isboot.ko
PORTDOCS= README
OPTIONS_DEFINE= DEBUG DOCS VIMAGE
OPTIONS_DEFAULT=DOCS VIMAGE
DEBUG_DESC= Enable verbose boot logging
VIMAGE_DESC= Build for a kernel with 'options VIMAGE'
DEBUG_CFLAGS= -DDEBUG -DMODDEBUG -DIBFT_VERBOSE
VIMAGE_CFLAGS= -DVIMAGE
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=unused-but-set-variable
.endif
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/.. && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>