diff options
author | nyan <nyan@FreeBSD.org> | 2008-02-29 05:06:06 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2008-02-29 05:06:06 +0000 |
commit | d5b129f63048a5f9a102f87bdad70817d86be896 (patch) | |
tree | c68e42c324b6177b274b389b59ac6f90eafdcd4f /sys/boot | |
parent | b693f947923389e84107c7d051e8ae07939b8021 (diff) | |
download | FreeBSD-src-d5b129f63048a5f9a102f87bdad70817d86be896.zip FreeBSD-src-d5b129f63048a5f9a102f87bdad70817d86be896.tar.gz |
MFi386: revision 1.43
Do not attempt to make an NFS rpc call if using tftp
Diffstat (limited to 'sys/boot')
-rw-r--r-- | sys/boot/pc98/libpc98/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/boot/pc98/libpc98/Makefile b/sys/boot/pc98/libpc98/Makefile index 6e61c93..cc93af0 100644 --- a/sys/boot/pc98/libpc98/Makefile +++ b/sys/boot/pc98/libpc98/Makefile @@ -10,6 +10,13 @@ SRCS= bioscd.c biosdisk.c biosmem.c biospnp.c biospci.c biossmap.c \ i386_copy.c i386_module.c nullconsole.c pxe.c pxetramp.s \ time.c vidconsole.c +# Enable PXE TFTP or NFS support, not both. +.if defined(LOADER_TFTP_SUPPORT) +CFLAGS+= -DLOADER_TFTP_SUPPORT +.else +CFLAGS+= -DLOADER_NFS_SUPPORT +.endif + BOOT_COMCONSOLE_PORT?= 0x238 CFLAGS+= -DCOMPORT=${BOOT_COMCONSOLE_PORT} |