1 #ifndef CONFIG_GENERAL_H
2 #define CONFIG_GENERAL_H
6 * General configuration
10 #include <config/defaults.h>
15 * Vendors may use these strings to add their own branding to gPXE.
16 * PRODUCT_NAME is displayed prior to any gPXE branding in startup
17 * messages, and PRODUCT_SHORT_NAME is used where a brief product
18 * label is required (e.g. in BIOS boot selection menus).
20 * To minimise end-user confusion, it's probably a good idea to either
21 * make PRODUCT_SHORT_NAME a substring of PRODUCT_NAME or leave it as
25 #define PRODUCT_NAME ""
26 #define PRODUCT_SHORT_NAME "gPXE"
32 #define BANNER_TIMEOUT 20 /* Tenths of a second for which the shell
33 banner should appear */
40 #define NET_PROTO_IPV4 /* IPv4 protocol */
47 #define DOWNLOAD_PROTO_TFTP /* Trivial File Transfer Protocol */
48 #undef DOWNLOAD_PROTO_NFS /* Network File System */
49 #define DOWNLOAD_PROTO_HTTP /* Hypertext Transfer Protocol */
50 #undef DOWNLOAD_PROTO_HTTPS /* Secure Hypertext Transfer Protocol */
51 #undef DOWNLOAD_PROTO_FTP /* File Transfer Protocol */
52 #undef DOWNLOAD_PROTO_TFTM /* Multicast Trivial File Transfer Protocol */
53 #undef DOWNLOAD_PROTO_SLAM /* Scalable Local Area Multicast */
54 #undef DOWNLOAD_PROTO_FSP /* FSP? */
61 //#undef SANBOOT_PROTO_ISCSI /* iSCSI protocol */
62 //#undef SANBOOT_PROTO_AOE /* AoE protocol */
65 * Name resolution modules
69 #define DNS_RESOLVER /* DNS resolver */
70 #undef NMB_RESOLVER /* NMB resolver */
75 * Etherboot supports various image formats. Select whichever ones
79 //#define IMAGE_NBI /* NBI image support */
80 //#define IMAGE_ELF /* ELF image support */
81 //#define IMAGE_FREEBSD /* FreeBSD kernel image support */
82 //#define IMAGE_MULTIBOOT /* MultiBoot image support */
83 //#define IMAGE_AOUT /* a.out image support */
84 //#define IMAGE_WINCE /* WinCE image support */
85 //#define IMAGE_PXE /* PXE image support */
86 //#define IMAGE_SCRIPT /* gPXE script image support */
87 //#define IMAGE_BZIMAGE /* Linux bzImage image support */
88 //#define IMAGE_COMBOOT /* SYSLINUX COMBOOT image support */
89 //#define IMAGE_EFI /* EFI image support */
92 * Command-line commands to include
95 #define AUTOBOOT_CMD /* Automatic booting */
96 #define NVO_CMD /* Non-volatile option storage commands */
97 #define CONFIG_CMD /* Option configuration console */
98 #define IFMGMT_CMD /* Interface management commands */
99 #define ROUTE_CMD /* Routing table management commands */
100 #define IMAGE_CMD /* Image management commands */
101 #define DHCP_CMD /* DHCP management commands */
102 #define SANBOOT_CMD /* SAN boot commands */
103 #define LOGIN_CMD /* Login command */
104 #undef TIME_CMD /* Time commands */
107 * Obscure configuration options
109 * You probably don't need to touch these.
113 #undef BUILD_SERIAL /* Include an automatic build serial
114 * number. Add "bs" to the list of
115 * make targets. For example:
116 * "make bin/rtl8139.dsk bs" */
117 #undef BUILD_ID /* Include a custom build ID string,
119 #undef NULL_TRAP /* Attempt to catch NULL function calls */
120 #undef GDBSERIAL /* Remote GDB debugging over serial */
121 #undef GDBUDP /* Remote GDB debugging over UDP
122 * (both may be set) */
124 #endif /* CONFIG_GENERAL_H */