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 * Drag in all requested protocols
81 #ifdef DOWNLOAD_PROTO_TFTP
82 REQUIRE_OBJECT ( tftp );
84 #ifdef DOWNLOAD_PROTO_NFS
85 REQUIRE_OBJECT ( nfs );
87 #ifdef DOWNLOAD_PROTO_HTTP
88 REQUIRE_OBJECT ( http );
90 #ifdef DOWNLOAD_PROTO_TFTM
91 REQUIRE_OBJECT ( tftm );
93 #ifdef DOWNLOAD_PROTO_SLAM
94 REQUIRE_OBJECT ( slam );
98 * Drag in any required resolvers
102 REQUIRE_OBJECT ( dns );
106 REQUIRE_OBJECT ( nmb );
110 * Drag in all requested image formats
114 REQUIRE_OBJECT ( nbi );
117 REQUIRE_OBJECT ( elf64 );
120 REQUIRE_OBJECT ( elf );
123 REQUIRE_OBJECT ( coff );
126 REQUIRE_OBJECT ( freebsd );
128 #ifdef IMAGE_MULTIBOOT
129 REQUIRE_OBJECT ( multiboot );
132 REQUIRE_OBJECT ( aout );
135 REQUIRE_OBJECT ( wince );
138 REQUIRE_OBJECT ( pxe_image );
141 REQUIRE_OBJECT ( script );
144 REQUIRE_OBJECT ( bzimage );
148 * Drag in all requested commands
152 REQUIRE_OBJECT ( autoboot_cmd );
155 REQUIRE_OBJECT ( nvo_cmd );
158 REQUIRE_OBJECT ( config_cmd );
161 REQUIRE_OBJECT ( ifmgmt_cmd );
164 REQUIRE_OBJECT ( route_cmd );
167 REQUIRE_OBJECT ( image_cmd );
170 REQUIRE_OBJECT ( dhcp_cmd );
174 * Drag in miscellaneous objects
178 REQUIRE_OBJECT ( nulltrap );