diff options
author | Joshua Oreman | 2009-10-07 01:15:06 +0200 |
---|---|---|
committer | Marty Connor | 2010-01-20 23:23:37 +0100 |
commit | fa4aec8f034f4999cf933161810b96de83ce31a7 (patch) | |
tree | 73348c8a175d5b76763d692e662d5179479e976d /src/config/config.c | |
parent | [pxe] Support cached DHCP packets in .kkpxe images (diff) | |
download | ipxe-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/config.c')
-rw-r--r-- | src/config/config.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/config/config.c b/src/config/config.c index f487ae97..82524025 100644 --- a/src/config/config.c +++ b/src/config/config.c @@ -92,6 +92,17 @@ REQUIRE_OBJECT ( ipv4 ); #endif /* + * Drag in all requested PXE support + * + */ +#ifdef PXE_MENU +REQUIRE_OBJECT ( pxemenu ); +#endif +#ifdef PXE_STACK +REQUIRE_OBJECT ( pxe_call ); +#endif + +/* * Drag in all requested download protocols * */ |