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.
8 #include "config/general.h"
11 * Build ID string calculations
16 #define XSTR(s) STR(s)
20 #include "config/.buildserial.h"
21 #define BUILD_SERIAL_STR " #" XSTR(BUILD_SERIAL_NUM)
23 #define BUILD_SERIAL_STR ""
27 #define BUILD_ID_STR " " BUILD_ID
29 #define BUILD_ID_STR ""
32 #if defined(BUILD_ID) || defined(BUILD_SERIAL)
33 #define BUILD_STRING " [build" BUILD_ID_STR BUILD_SERIAL_STR "]"
35 #define BUILD_STRING ""
39 * Drag in all requested console types
41 * CONSOLE_DUAL sets both CONSOLE_FIRMWARE and CONSOLE_SERIAL for
42 * legacy compatibility.
47 #undef CONSOLE_FIRMWARE
48 #define CONSOLE_FIRMWARE 1
50 #define CONSOLE_SERIAL 1
53 #ifdef CONSOLE_FIRMWARE
54 REQUIRE_OBJECT ( bios_console );
58 REQUIRE_OBJECT ( serial );
61 #ifdef CONSOLE_DIRECT_VGA
62 REQUIRE_OBJECT ( video_subr );
66 REQUIRE_OBJECT ( btext );
70 REQUIRE_OBJECT ( pc_kbd );
74 REQUIRE_OBJECT ( syslog );
82 REQUIRE_OBJECT ( timer_bios );
86 REQUIRE_OBJECT ( timer_rdtsc );
89 * Drag in all requested protocols
92 #ifdef DOWNLOAD_PROTO_TFTP
93 REQUIRE_OBJECT ( tftp );
95 #ifdef DOWNLOAD_PROTO_NFS
96 REQUIRE_OBJECT ( nfs );
98 #ifdef DOWNLOAD_PROTO_HTTP
99 REQUIRE_OBJECT ( http );
101 #ifdef DOWNLOAD_PROTO_HTTPS
102 REQUIRE_OBJECT ( https );
104 #ifdef DOWNLOAD_PROTO_FTP
105 REQUIRE_OBJECT ( ftp );
107 #ifdef DOWNLOAD_PROTO_TFTM
108 REQUIRE_OBJECT ( tftm );
110 #ifdef DOWNLOAD_PROTO_SLAM
111 REQUIRE_OBJECT ( slam );
115 * Drag in any required resolvers
119 REQUIRE_OBJECT ( dns );
123 REQUIRE_OBJECT ( nmb );
127 * Drag in all requested image formats
131 REQUIRE_OBJECT ( nbi );
134 REQUIRE_OBJECT ( elf64 );
137 REQUIRE_OBJECT ( elf );
140 REQUIRE_OBJECT ( freebsd );
142 #ifdef IMAGE_MULTIBOOT
143 REQUIRE_OBJECT ( multiboot );
146 REQUIRE_OBJECT ( aout );
149 REQUIRE_OBJECT ( wince );
152 REQUIRE_OBJECT ( pxe_image );
155 REQUIRE_OBJECT ( script );
158 REQUIRE_OBJECT ( bzimage );
160 #ifdef IMAGE_ELTORITO
161 REQUIRE_OBJECT ( eltorito );
165 * Drag in all requested commands
169 REQUIRE_OBJECT ( autoboot_cmd );
172 REQUIRE_OBJECT ( nvo_cmd );
175 REQUIRE_OBJECT ( config_cmd );
178 REQUIRE_OBJECT ( ifmgmt_cmd );
181 REQUIRE_OBJECT ( route_cmd );
184 REQUIRE_OBJECT ( image_cmd );
187 REQUIRE_OBJECT ( dhcp_cmd );
191 * Drag in miscellaneous objects
195 REQUIRE_OBJECT ( nulltrap );
198 REQUIRE_OBJECT ( gdbsym );