summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorps <ps@FreeBSD.org>2000-11-04 08:43:13 +0000
committerps <ps@FreeBSD.org>2000-11-04 08:43:13 +0000
commit2cfec00a84116cb5277eecec357964eb0c113954 (patch)
tree46082af3677559242d65820ae58da53ee93a2eaf /sys
parentfee8e1a16f8a0e4301c0a5124798b3124c24cc24 (diff)
downloadFreeBSD-src-2cfec00a84116cb5277eecec357964eb0c113954.zip
FreeBSD-src-2cfec00a84116cb5277eecec357964eb0c113954.tar.gz
MF4: Add LOADER_TFTP_SUPPORT make.conf flag.
Diffstat (limited to 'sys')
-rw-r--r--sys/boot/i386/loader/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/boot/i386/loader/Makefile b/sys/boot/i386/loader/Makefile
index b70281b..fa54f51 100644
--- a/sys/boot/i386/loader/Makefile
+++ b/sys/boot/i386/loader/Makefile
@@ -11,8 +11,11 @@ BINDIR?= /boot
SRCS= main.c conf.c
# Enable PXE TFTP or NFS support, not both.
+.if defined(LOADER_TFTP_SUPPORT)
+CFLAGS+= -DLOADER_TFTP_SUPPORT
+.else
CFLAGS+= -DLOADER_NFS_SUPPORT
-#CFLAGS+= -DLOADER_TFTP_SUPPORT
+.endif
# Enable PnP and ISA-PnP code.
HAVE_PNP= yes
OpenPOWER on IntegriCloud