Always build tftpfs support along with nfs for pxeboot
This change was already done for loader.efi
This commit is contained in:
parent
f5db8ffa45
commit
40fef870c4
@ -10,6 +10,8 @@ INTERNALPROG=
|
||||
NEWVERSWHAT?= "bootstrap loader" x86
|
||||
VERSION_FILE= ${.CURDIR}/../loader/version
|
||||
LOADER_NET_SUPPORT?= yes
|
||||
LOADER_NFS_SUPPORT?= yes
|
||||
LOADER_TFTP_SUPPORT?= yes
|
||||
|
||||
# architecture-specific loader code
|
||||
SRCS= main.c conf.c vers.c
|
||||
@ -30,10 +32,10 @@ LIBZFSBOOT= ${.OBJDIR}/../../zfs/libzfsboot.a
|
||||
CFLAGS+= -I${.CURDIR}/../../../../lib/libstand
|
||||
.endif
|
||||
|
||||
# Enable PXE TFTP or NFS support, not both.
|
||||
.if defined(LOADER_TFTP_SUPPORT)
|
||||
CFLAGS+= -DLOADER_TFTP_SUPPORT
|
||||
.else
|
||||
.endif
|
||||
.if defined(LOADER_NFS_SUPPORT)
|
||||
CFLAGS+= -DLOADER_NFS_SUPPORT
|
||||
.endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user