From fa4aec8f034f4999cf933161810b96de83ce31a7 Mon Sep 17 00:00:00 2001 From: Joshua Oreman Date: Tue, 6 Oct 2009 19:15:06 -0400 Subject: [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 --- src/config/config_romprefix.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/config/config_romprefix.c (limited to 'src/config/config_romprefix.c') diff --git a/src/config/config_romprefix.c b/src/config/config_romprefix.c new file mode 100644 index 000000000..85f1e78ab --- /dev/null +++ b/src/config/config_romprefix.c @@ -0,0 +1,24 @@ +/* + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2, or (at + * your option) any later version. + */ + +FILE_LICENCE ( GPL2_OR_LATER ); + +#include + +/** @file + * + * ROM prefix configuration options + * + */ + +/* + * Provide UNDI loader if PXE stack is requested + * + */ +#ifdef PXE_STACK +REQUIRE_OBJECT ( undiloader ); +#endif -- cgit