summaryrefslogtreecommitdiffstats
path: root/src/include/usr
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/include/usr
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/include/usr')
-rw-r--r--src/include/usr/autoboot.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/usr/autoboot.h b/src/include/usr/autoboot.h
index 16306cd0..a9180202 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 */