From 290e7bac6e3c09ee71c54a69dd7f95e89c067d23 Mon Sep 17 00:00:00 2001 From: Mariusz Zaborski Date: Sat, 23 Sep 2017 12:44:42 +0000 Subject: [PATCH] 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@ --- sys/boot/i386/libi386/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/boot/i386/libi386/Makefile b/sys/boot/i386/libi386/Makefile index 2a7d1e2213df..dc57030b4609 100644 --- a/sys/boot/i386/libi386/Makefile +++ b/sys/boot/i386/libi386/Makefile @@ -12,10 +12,10 @@ SRCS= biosacpi.c bioscd.c biosdisk.c biosmem.c biospnp.c \ .PATH: ${.CURDIR}/../../zfs SRCS+= devicename_stubs.c -# 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