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 * Build ID string calculations
20 #define XSTR(s) STR(s)
24 #include "config/.buildserial.h"
25 #define BUILD_SERIAL_STR " #" XSTR(BUILD_SERIAL_NUM)
27 #define BUILD_SERIAL_STR ""
31 #define BUILD_ID_STR " " BUILD_ID
33 #define BUILD_ID_STR ""
36 #if defined(BUILD_ID) || defined(BUILD_SERIAL)
37 #define BUILD_STRING " [build" BUILD_ID_STR BUILD_SERIAL_STR "]"
39 #define BUILD_STRING ""
43 * Drag in all requested console types
45 * CONSOLE_DUAL sets both CONSOLE_FIRMWARE and CONSOLE_SERIAL for
46 * legacy compatibility.
51 #undef CONSOLE_FIRMWARE
52 #define CONSOLE_FIRMWARE 1
54 #define CONSOLE_SERIAL 1
57 #ifdef CONSOLE_FIRMWARE
58 REQUIRE_OBJECT ( bios_console );
62 REQUIRE_OBJECT ( serial );
65 #ifdef CONSOLE_DIRECT_VGA
66 REQUIRE_OBJECT ( video_subr );
70 REQUIRE_OBJECT ( btext );
74 REQUIRE_OBJECT ( pc_kbd );
78 REQUIRE_OBJECT ( syslog );
82 * Drag in all requested protocols
85 #ifdef DOWNLOAD_PROTO_TFTP
86 REQUIRE_OBJECT ( tftp );
88 #ifdef DOWNLOAD_PROTO_NFS
89 REQUIRE_OBJECT ( nfs );
91 #ifdef DOWNLOAD_PROTO_HTTP
92 REQUIRE_OBJECT ( http );
94 #ifdef DOWNLOAD_PROTO_TFTM
95 REQUIRE_OBJECT ( tftm );
97 #ifdef DOWNLOAD_PROTO_SLAM
98 REQUIRE_OBJECT ( slam );
102 * Drag in any required resolvers
106 REQUIRE_OBJECT ( dns );
110 REQUIRE_OBJECT ( nmb );
114 * Drag in all requested image formats
118 REQUIRE_OBJECT ( nbi );
121 REQUIRE_OBJECT ( elf64 );
124 REQUIRE_OBJECT ( elf );
127 REQUIRE_OBJECT ( coff );
130 REQUIRE_OBJECT ( freebsd );
132 #ifdef IMAGE_MULTIBOOT
133 REQUIRE_OBJECT ( multiboot );
136 REQUIRE_OBJECT ( aout );
139 REQUIRE_OBJECT ( wince );
142 REQUIRE_OBJECT ( pxe_image );
145 REQUIRE_OBJECT ( script );
148 REQUIRE_OBJECT ( bzimage );
150 #ifdef IMAGE_ELTORITO
151 REQUIRE_OBJECT ( eltorito );
155 * Drag in all requested commands
159 REQUIRE_OBJECT ( autoboot_cmd );
162 REQUIRE_OBJECT ( nvo_cmd );
165 REQUIRE_OBJECT ( config_cmd );
168 REQUIRE_OBJECT ( ifmgmt_cmd );
171 REQUIRE_OBJECT ( route_cmd );
174 REQUIRE_OBJECT ( image_cmd );
177 REQUIRE_OBJECT ( dhcp_cmd );
181 * Drag in miscellaneous objects
185 REQUIRE_OBJECT ( nulltrap );