[config] Make the default image type selection platform-dependent
[people/pravin/gpxe.git] / src / config / general.h
1 #ifndef CONFIG_GENERAL_H
2 #define CONFIG_GENERAL_H
3
4 /** @file
5  *
6  * General configuration
7  *
8  */
9
10 #include <config/defaults.h>
11
12 /*
13  * Timer configuration
14  *
15  */
16 #define BANNER_TIMEOUT  20      /* Tenths of a second for which the shell
17                                    banner should appear */
18
19 /*
20  * Network protocols
21  *
22  */
23
24 #define NET_PROTO_IPV4          /* IPv4 protocol */
25
26 /*
27  * Download protocols
28  *
29  */
30
31 #define DOWNLOAD_PROTO_TFTP     /* Trivial File Transfer Protocol */
32 #undef  DOWNLOAD_PROTO_NFS      /* Network File System */
33 #define DOWNLOAD_PROTO_HTTP     /* Hypertext Transfer Protocol */
34 #undef  DOWNLOAD_PROTO_HTTPS    /* Secure Hypertext Transfer Protocol */
35 #undef  DOWNLOAD_PROTO_FTP      /* File Transfer Protocol */
36 #undef  DOWNLOAD_PROTO_TFTM     /* Multicast Trivial File Transfer Protocol */
37 #undef  DOWNLOAD_PROTO_SLAM     /* Scalable Local Area Multicast */
38 #undef  DOWNLOAD_PROTO_FSP      /* FSP? */
39
40 /*
41  * Name resolution modules
42  *
43  */
44
45 #define DNS_RESOLVER            /* DNS resolver */
46 #undef  NMB_RESOLVER            /* NMB resolver */
47
48 /*
49  * Image types
50  *
51  * Etherboot supports various image formats.  Select whichever ones
52  * you want to use.
53  *
54  */
55 //#define       IMAGE_NBI               /* NBI image support */
56 //#define       IMAGE_ELF               /* ELF image support */
57 //#define       IMAGE_FREEBSD           /* FreeBSD kernel image support */
58 //#define       IMAGE_MULTIBOOT         /* MultiBoot image support */
59 //#define       IMAGE_AOUT              /* a.out image support */
60 //#define       IMAGE_WINCE             /* WinCE image support */
61 //#define       IMAGE_PXE               /* PXE image support */
62 //#define       IMAGE_SCRIPT            /* gPXE script image support */
63 //#define       IMAGE_BZIMAGE           /* Linux bzImage image support */
64 //#define       IMAGE_COMBOOT           /* SYSLINUX COMBOOT image support */
65
66 /*
67  * Command-line commands to include
68  *
69  */
70 #define AUTOBOOT_CMD            /* Automatic booting */
71 #define NVO_CMD                 /* Non-volatile option storage commands */
72 #define CONFIG_CMD              /* Option configuration console */
73 #define IFMGMT_CMD              /* Interface management commands */
74 #define ROUTE_CMD               /* Routing table management commands */
75 #define IMAGE_CMD               /* Image management commands */
76 #define DHCP_CMD                /* DHCP management commands */
77 #define SANBOOT_CMD             /* SAN boot commands */
78
79 /*
80  * Obscure configuration options
81  *
82  * You probably don't need to touch these.
83  *
84  */
85
86 #undef  BUILD_SERIAL            /* Include an automatic build serial
87                                  * number.  Add "bs" to the list of
88                                  * make targets.  For example:
89                                  * "make bin/rtl8139.dsk bs" */
90 #undef  BUILD_ID                /* Include a custom build ID string,
91                                  * e.g "test-foo" */
92 #undef  NULL_TRAP               /* Attempt to catch NULL function calls */
93 #undef  GDBSERIAL               /* Remote GDB debugging over serial */
94 #undef  GDBUDP                  /* Remote GDB debugging over UDP
95                                  * (both may be set) */
96
97 #endif /* CONFIG_GENERAL_H */