Fix BUILD_SERIAL.

Change from using #if to #ifdef, since #if can't cope with string
constants.
This commit is contained in:
Michael Brown
2005-04-18 12:43:18 +00:00
parent 85b00c4b72
commit cf79681b80
5 changed files with 111 additions and 65 deletions

View File

@@ -221,18 +221,6 @@
# which saves power while waiting for user interaction.
# Good for compute clusters and VMware emulation.
# But may not work for all CPUs.
# -DBUILD_SERIAL
# Include an auto-incrementing build number in
# the Etherboot welcome message. Useful when
# developing, to be sure that the file you
# compiled is the one you're currently testing.
# -DBUILD_ID
# Include a build ID string in the Etherboot
# welcome message. Useful when developing, if
# you have multiple builds with different
# configurations and want to check you're
# running the one you think you are. Requires
# -DBUILD_SERIAL.
#
# @/OptionDescription@
@@ -365,12 +353,6 @@ CFLAGS+= -DPXE_IMAGE -DPXE_EXPORT
# via pxeboot, use only with DOWNLOAD_PROTO_NFS
# CFLAGS+= -DFREEBSD_PXEEMU
# Include an auto-incrementing build serial number and optional build
# ID string
# CFLAGS+= -DBUILD_SERIAL
# CFLAGS+= -DBUILD_SERIAL -DBUILD_ID=\"testing\"
# Garbage from Makefile.main temporarily placed here until a home can