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>
9 #include <config/console.h>
12 * Build ID string calculations
17 #define XSTR(s) STR(s)
21 #include "config/.buildserial.h"
22 #define BUILD_SERIAL_STR " #" XSTR(BUILD_SERIAL_NUM)
24 #define BUILD_SERIAL_STR ""
28 #define BUILD_ID_STR " " BUILD_ID
30 #define BUILD_ID_STR ""
33 #if defined(BUILD_ID) || defined(BUILD_SERIAL)
34 #define BUILD_STRING " [build" BUILD_ID_STR BUILD_SERIAL_STR "]"
36 #define BUILD_STRING ""
40 * Drag in all requested console types
45 REQUIRE_OBJECT ( bios_console );
48 REQUIRE_OBJECT ( serial_console );
50 #ifdef CONSOLE_DIRECT_VGA
51 REQUIRE_OBJECT ( video_subr );
54 REQUIRE_OBJECT ( btext );
57 REQUIRE_OBJECT ( pc_kbd );
60 REQUIRE_OBJECT ( syslog );
64 * Drag in all requested timers
67 REQUIRE_OBJECT ( timer_bios );
70 REQUIRE_OBJECT ( timer_rdtsc );
74 * Drag in all requested network protocols
78 REQUIRE_OBJECT ( ipv4 );
82 * Drag in all requested download 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_HTTPS
95 REQUIRE_OBJECT ( https );
97 #ifdef DOWNLOAD_PROTO_FTP
98 REQUIRE_OBJECT ( ftp );
100 #ifdef DOWNLOAD_PROTO_TFTM
101 REQUIRE_OBJECT ( tftm );
103 #ifdef DOWNLOAD_PROTO_SLAM
104 REQUIRE_OBJECT ( slam );
108 * Drag in all requested resolvers
112 REQUIRE_OBJECT ( dns );
115 REQUIRE_OBJECT ( nmb );
119 * Drag in all requested image formats
123 REQUIRE_OBJECT ( nbi );
126 REQUIRE_OBJECT ( elfboot );
129 REQUIRE_OBJECT ( freebsd );
131 #ifdef IMAGE_MULTIBOOT
132 REQUIRE_OBJECT ( multiboot );
135 REQUIRE_OBJECT ( aout );
138 REQUIRE_OBJECT ( wince );
141 REQUIRE_OBJECT ( pxe_image );
144 REQUIRE_OBJECT ( script );
147 REQUIRE_OBJECT ( bzimage );
149 #ifdef IMAGE_ELTORITO
150 REQUIRE_OBJECT ( eltorito );
153 REQUIRE_OBJECT ( comboot );
154 REQUIRE_OBJECT ( com32 );
155 REQUIRE_OBJECT ( comboot_call );
156 REQUIRE_OBJECT ( com32_call );
157 REQUIRE_OBJECT ( com32_wrapper );
158 REQUIRE_OBJECT ( comboot_resolv );
162 * Drag in all requested commands
166 REQUIRE_OBJECT ( autoboot_cmd );
169 REQUIRE_OBJECT ( nvo_cmd );
172 REQUIRE_OBJECT ( config_cmd );
175 REQUIRE_OBJECT ( ifmgmt_cmd );
178 REQUIRE_OBJECT ( route_cmd );
181 REQUIRE_OBJECT ( image_cmd );
184 REQUIRE_OBJECT ( dhcp_cmd );
187 REQUIRE_OBJECT ( sanboot_cmd );
191 * Drag in miscellaneous objects
195 REQUIRE_OBJECT ( nulltrap );
198 REQUIRE_OBJECT ( gdbidt );
199 REQUIRE_OBJECT ( gdbserial );
200 REQUIRE_OBJECT ( gdbstub_cmd );
203 REQUIRE_OBJECT ( gdbidt );
204 REQUIRE_OBJECT ( gdbudp );
205 REQUIRE_OBJECT ( gdbstub_cmd );
209 * Drag in objects that are always required, but not dragged in via
210 * symbol dependencies.
213 REQUIRE_OBJECT ( device );