summaryrefslogtreecommitdiffstats
path: root/src/config/general.h
diff options
context:
space:
mode:
authorJoshua Oreman2009-10-07 01:15:06 +0200
committerMarty Connor2010-01-20 23:23:37 +0100
commitfa4aec8f034f4999cf933161810b96de83ce31a7 (patch)
tree73348c8a175d5b76763d692e662d5179479e976d /src/config/general.h
parent[pxe] Support cached DHCP packets in .kkpxe images (diff)
downloadipxe-fa4aec8f034f4999cf933161810b96de83ce31a7.tar.gz
ipxe-fa4aec8f034f4999cf933161810b96de83ce31a7.tar.xz
ipxe-fa4aec8f034f4999cf933161810b96de83ce31a7.zip
[config] Make PXE stack a compile-time option
For extremely tight space requirements and specific applications, it is sometimes desirable to create gPXE images that cannot provide the PXE API functionality to client programs. Add a configuration header option, PXE_STACK, that can be removed to remove this stack. Also add PXE_MENU to control the PXE boot menu, which most uses of gPXE do not need. Signed-off-by: Marty Connor <mdc@etherboot.org>
Diffstat (limited to 'src/config/general.h')
-rw-r--r--src/config/general.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/config/general.h b/src/config/general.h
index 5187e2a1..f721f612 100644
--- a/src/config/general.h
+++ b/src/config/general.h
@@ -42,6 +42,13 @@ FILE_LICENCE ( GPL2_OR_LATER );
#define NET_PROTO_IPV4 /* IPv4 protocol */
/*
+ * PXE support
+ *
+ */
+//#undef PXE_STACK /* PXE stack in gPXE - you want this! */
+//#undef PXE_MENU /* PXE menu booting */
+
+/*
* Download protocols
*
*/