After the r317886 support for TFTP and NFS can be enable simultaneously.

The cleanup of this distinction was done in the r318988, but this Makefile
was omitted.

Submitted by:	kczekirda@
This commit is contained in:
Mariusz Zaborski 2017-09-23 12:44:42 +00:00
parent 4c087f8a83
commit 290e7bac6e

View File

@ -12,10 +12,10 @@ SRCS= biosacpi.c bioscd.c biosdisk.c biosmem.c biospnp.c \
.PATH: ${.CURDIR}/../../zfs .PATH: ${.CURDIR}/../../zfs
SRCS+= devicename_stubs.c SRCS+= devicename_stubs.c
# Enable PXE TFTP or NFS support, not both.
.if defined(LOADER_TFTP_SUPPORT) .if defined(LOADER_TFTP_SUPPORT)
CFLAGS+= -DLOADER_TFTP_SUPPORT CFLAGS+= -DLOADER_TFTP_SUPPORT
.else .endif
.if defined(LOADER_NFS_SUPPORT)
CFLAGS+= -DLOADER_NFS_SUPPORT CFLAGS+= -DLOADER_NFS_SUPPORT
.endif .endif