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/include/usr/autoboot.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/usr/autoboot.h b/src/include/usr/autoboot.h index 16306cd0d..a91802020 100644 --- a/src/include/usr/autoboot.h +++ b/src/include/usr/autoboot.h @@ -18,6 +18,8 @@ extern void autoboot ( void ); extern int boot_next_server_and_filename ( struct in_addr next_server, const char *filename ); extern int boot_root_path ( const char *root_path ); -extern int pxe_menu_boot ( struct net_device *netdev ); + +extern int pxe_menu_boot ( struct net_device *netdev ) + __attribute__ (( weak )); #endif /* _USR_AUTOBOOT_H */ -- cgit v1.2.3-55-g7522