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_FTP
95 REQUIRE_OBJECT ( ftp
);
97 #ifdef DOWNLOAD_PROTO_TFTM
98 REQUIRE_OBJECT ( tftm
);
100 #ifdef DOWNLOAD_PROTO_SLAM
101 REQUIRE_OBJECT ( slam
);
105 * Drag in any required resolvers
109 REQUIRE_OBJECT ( dns
);
113 REQUIRE_OBJECT ( nmb
);
117 * Drag in all requested image formats
121 REQUIRE_OBJECT ( nbi
);
124 REQUIRE_OBJECT ( elf64
);
127 REQUIRE_OBJECT ( elf
);
130 REQUIRE_OBJECT ( coff
);
133 REQUIRE_OBJECT ( freebsd
);
135 #ifdef IMAGE_MULTIBOOT
136 REQUIRE_OBJECT ( multiboot
);
139 REQUIRE_OBJECT ( aout
);
142 REQUIRE_OBJECT ( wince
);
145 REQUIRE_OBJECT ( pxe_image
);
148 REQUIRE_OBJECT ( script
);
151 REQUIRE_OBJECT ( bzimage
);
153 #ifdef IMAGE_ELTORITO
154 REQUIRE_OBJECT ( eltorito
);
158 * Drag in all requested commands
162 REQUIRE_OBJECT ( autoboot_cmd
);
165 REQUIRE_OBJECT ( nvo_cmd
);
168 REQUIRE_OBJECT ( config_cmd
);
171 REQUIRE_OBJECT ( ifmgmt_cmd
);
174 REQUIRE_OBJECT ( route_cmd
);
177 REQUIRE_OBJECT ( image_cmd
);
180 REQUIRE_OBJECT ( dhcp_cmd
);
184 * Drag in miscellaneous objects
188 REQUIRE_OBJECT ( nulltrap
);
191 REQUIRE_OBJECT ( gdbsym
);