MF4: Add LOADER_TFTP_SUPPORT make.conf flag.
This commit is contained in:
parent
1c1752872f
commit
9193b12844
@ -152,6 +152,12 @@ BDECFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \
|
||||
#
|
||||
#BOOT_COMCONSOLE_SPEED= 115200
|
||||
#
|
||||
# By default the 'pxeboot' loader retrieves the kernel via NFS. Defining
|
||||
# this and recompiling /usr/src/sys/boot will cause it to retrieve the kernel
|
||||
# via TFTP. This allows pxeboot to load a custom BOOTP diskless kernel yet
|
||||
# still mount the server's '/' (i.e. rather then load the server's kernel).
|
||||
#
|
||||
#LOADER_TFTP_SUPPORT= YES
|
||||
#
|
||||
# By default, this points to /usr/X11R6 for XFree86 releases 3.0 or earlier.
|
||||
# If you have a XFree86 from before 3.0 that has the X distribution in
|
||||
|
@ -152,6 +152,12 @@ BDECFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \
|
||||
#
|
||||
#BOOT_COMCONSOLE_SPEED= 115200
|
||||
#
|
||||
# By default the 'pxeboot' loader retrieves the kernel via NFS. Defining
|
||||
# this and recompiling /usr/src/sys/boot will cause it to retrieve the kernel
|
||||
# via TFTP. This allows pxeboot to load a custom BOOTP diskless kernel yet
|
||||
# still mount the server's '/' (i.e. rather then load the server's kernel).
|
||||
#
|
||||
#LOADER_TFTP_SUPPORT= YES
|
||||
#
|
||||
# By default, this points to /usr/X11R6 for XFree86 releases 3.0 or earlier.
|
||||
# If you have a XFree86 from before 3.0 that has the X distribution in
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user