2 * This program is free software; you can redistribute it and/or
3 * modify it under the terms of the GNU General Public License as
4 * published by the Free Software Foundation; either version 2, or (at
5 * your option) any later version.
12 #include "config/general.h"
15 #include ".buildserial.h"
16 #define xstr(s) str(s)
20 void print_config ( void ) {
21 printf( "Etherboot " VERSION
27 "#" xstr(BUILD_SERIAL_NUM) "]"
28 #endif /* BUILD_SERIAL */
29 " (GPL) http://etherboot.org\n"
48 #ifdef IMAGE_MULTIBOOT
60 #ifdef PXE_EXPORT /* All possible exports */
65 #endif /* All possible exports */
68 #if (BOOTP_SERVER != 67) || (BOOTP_CLIENT != 68)
69 printf( "[DHCP ports %d and %d] ",
70 BOOTP_SERVER, BOOTP_CLIENT);
77 # ifndef NO_DHCP_SUPPORT
83 #ifdef DOWNLOAD_PROTO_TFTP
86 #ifdef DOWNLOAD_PROTO_NFS
89 #ifdef DOWNLOAD_PROTO_SLAM
92 #ifdef DOWNLOAD_PROTO_TFTM
95 #ifdef DOWNLOAD_PROTO_HTTP
106 printf( "Keeping It Real [EXPERIMENTAL]\n" );
111 * Drag in all requested console types
113 * CONSOLE_DUAL sets both CONSOLE_FIRMWARE and CONSOLE_SERIAL for
114 * legacy compatibility.
119 #undef CONSOLE_FIRMWARE
120 #define CONSOLE_FIRMWARE 1
121 #undef CONSOLE_SERIAL
122 #define CONSOLE_SERIAL 1
126 REQUIRE_OBJECT ( bios_console );
130 REQUIRE_OBJECT ( serial );
133 #if CONSOLE_DIRECT_VGA
134 REQUIRE_OBJECT ( video_subr );
138 REQUIRE_OBJECT ( btext );
142 REQUIRE_OBJECT ( pc_kbd );
146 * Drag in relocate.o if required
151 REQUIRE_OBJECT ( relocate );