2008-10-08 01:37:40 +02:00
|
|
|
#ifndef CONFIG_GENERAL_H
|
|
|
|
#define CONFIG_GENERAL_H
|
|
|
|
|
|
|
|
/** @file
|
2005-04-17 16:08:40 +02:00
|
|
|
*
|
2008-10-08 01:37:40 +02:00
|
|
|
* General configuration
|
2005-04-17 16:08:40 +02:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2008-10-13 10:37:51 +02:00
|
|
|
#include <config/defaults.h>
|
|
|
|
|
2008-10-31 20:10:28 +01:00
|
|
|
/*
|
|
|
|
* Branding
|
|
|
|
*
|
|
|
|
* Vendors may use these strings to add their own branding to gPXE.
|
|
|
|
* PRODUCT_NAME is displayed prior to any gPXE branding in startup
|
|
|
|
* messages, and PRODUCT_SHORT_NAME is used where a brief product
|
|
|
|
* label is required (e.g. in BIOS boot selection menus).
|
|
|
|
*
|
|
|
|
* To minimise end-user confusion, it's probably a good idea to either
|
|
|
|
* make PRODUCT_SHORT_NAME a substring of PRODUCT_NAME or leave it as
|
|
|
|
* "gPXE".
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
#define PRODUCT_NAME ""
|
|
|
|
#define PRODUCT_SHORT_NAME "gPXE"
|
|
|
|
|
2008-10-08 01:37:40 +02:00
|
|
|
/*
|
2008-03-02 03:33:54 +01:00
|
|
|
* Timer configuration
|
|
|
|
*
|
|
|
|
*/
|
2008-07-24 20:59:12 +02:00
|
|
|
#define BANNER_TIMEOUT 20 /* Tenths of a second for which the shell
|
|
|
|
banner should appear */
|
2008-03-02 03:33:54 +01:00
|
|
|
|
2008-10-08 01:37:40 +02:00
|
|
|
/*
|
2008-03-21 01:06:28 +01:00
|
|
|
* Network protocols
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#define NET_PROTO_IPV4 /* IPv4 protocol */
|
|
|
|
|
2008-10-08 01:37:40 +02:00
|
|
|
/*
|
2005-05-02 14:45:23 +02:00
|
|
|
* Download protocols
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#define DOWNLOAD_PROTO_TFTP /* Trivial File Transfer Protocol */
|
|
|
|
#undef DOWNLOAD_PROTO_NFS /* Network File System */
|
2007-01-18 23:38:13 +01:00
|
|
|
#define DOWNLOAD_PROTO_HTTP /* Hypertext Transfer Protocol */
|
2007-07-30 04:01:04 +02:00
|
|
|
#undef DOWNLOAD_PROTO_HTTPS /* Secure Hypertext Transfer Protocol */
|
2007-06-28 19:49:57 +02:00
|
|
|
#undef DOWNLOAD_PROTO_FTP /* File Transfer Protocol */
|
2005-05-02 14:45:23 +02:00
|
|
|
#undef DOWNLOAD_PROTO_TFTM /* Multicast Trivial File Transfer Protocol */
|
|
|
|
#undef DOWNLOAD_PROTO_SLAM /* Scalable Local Area Multicast */
|
2005-05-19 18:10:52 +02:00
|
|
|
#undef DOWNLOAD_PROTO_FSP /* FSP? */
|
2005-05-02 14:45:23 +02:00
|
|
|
|
2008-10-13 11:05:23 +02:00
|
|
|
/*
|
|
|
|
* SAN boot protocols
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
//#undef SANBOOT_PROTO_ISCSI /* iSCSI protocol */
|
|
|
|
//#undef SANBOOT_PROTO_AOE /* AoE protocol */
|
|
|
|
|
2008-10-08 01:37:40 +02:00
|
|
|
/*
|
2005-04-30 16:39:21 +02:00
|
|
|
* Name resolution modules
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2007-01-18 23:38:13 +01:00
|
|
|
#define DNS_RESOLVER /* DNS resolver */
|
2005-05-02 14:45:23 +02:00
|
|
|
#undef NMB_RESOLVER /* NMB resolver */
|
2005-04-30 16:39:21 +02:00
|
|
|
|
2008-10-08 01:37:40 +02:00
|
|
|
/*
|
2005-05-19 14:58:23 +02:00
|
|
|
* Image types
|
|
|
|
*
|
|
|
|
* Etherboot supports various image formats. Select whichever ones
|
|
|
|
* you want to use.
|
|
|
|
*
|
|
|
|
*/
|
2008-10-13 10:37:51 +02:00
|
|
|
//#define IMAGE_NBI /* NBI image support */
|
|
|
|
//#define IMAGE_ELF /* ELF image support */
|
|
|
|
//#define IMAGE_FREEBSD /* FreeBSD kernel image support */
|
|
|
|
//#define IMAGE_MULTIBOOT /* MultiBoot image support */
|
|
|
|
//#define IMAGE_AOUT /* a.out image support */
|
|
|
|
//#define IMAGE_WINCE /* WinCE image support */
|
|
|
|
//#define IMAGE_PXE /* PXE image support */
|
|
|
|
//#define IMAGE_SCRIPT /* gPXE script image support */
|
|
|
|
//#define IMAGE_BZIMAGE /* Linux bzImage image support */
|
|
|
|
//#define IMAGE_COMBOOT /* SYSLINUX COMBOOT image support */
|
2008-10-12 02:55:55 +02:00
|
|
|
//#define IMAGE_EFI /* EFI image support */
|
2005-05-19 14:58:23 +02:00
|
|
|
|
2008-10-08 01:37:40 +02:00
|
|
|
/*
|
2006-12-20 01:39:06 +01:00
|
|
|
* Command-line commands to include
|
|
|
|
*
|
|
|
|
*/
|
2007-01-14 01:06:23 +01:00
|
|
|
#define AUTOBOOT_CMD /* Automatic booting */
|
2006-12-20 01:39:06 +01:00
|
|
|
#define NVO_CMD /* Non-volatile option storage commands */
|
2006-12-20 08:04:08 +01:00
|
|
|
#define CONFIG_CMD /* Option configuration console */
|
2007-01-10 03:04:07 +01:00
|
|
|
#define IFMGMT_CMD /* Interface management commands */
|
2007-01-10 21:51:14 +01:00
|
|
|
#define ROUTE_CMD /* Routing table management commands */
|
2007-01-12 07:05:27 +01:00
|
|
|
#define IMAGE_CMD /* Image management commands */
|
2007-01-13 18:28:51 +01:00
|
|
|
#define DHCP_CMD /* DHCP management commands */
|
2008-03-04 18:59:26 +01:00
|
|
|
#define SANBOOT_CMD /* SAN boot commands */
|
2009-02-17 13:01:47 +01:00
|
|
|
#define LOGIN_CMD /* Login command */
|
2006-12-20 01:39:06 +01:00
|
|
|
|
2008-10-08 01:37:40 +02:00
|
|
|
/*
|
2005-04-18 14:43:18 +02:00
|
|
|
* Obscure configuration options
|
|
|
|
*
|
|
|
|
* You probably don't need to touch these.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#undef BUILD_SERIAL /* Include an automatic build serial
|
|
|
|
* number. Add "bs" to the list of
|
|
|
|
* make targets. For example:
|
|
|
|
* "make bin/rtl8139.dsk bs" */
|
|
|
|
#undef BUILD_ID /* Include a custom build ID string,
|
|
|
|
* e.g "test-foo" */
|
2006-06-11 03:55:43 +02:00
|
|
|
#undef NULL_TRAP /* Attempt to catch NULL function calls */
|
2008-06-11 13:12:46 +02:00
|
|
|
#undef GDBSERIAL /* Remote GDB debugging over serial */
|
|
|
|
#undef GDBUDP /* Remote GDB debugging over UDP
|
|
|
|
* (both may be set) */
|
2005-04-18 14:43:18 +02:00
|
|
|
|
2008-10-08 01:37:40 +02:00
|
|
|
#endif /* CONFIG_GENERAL_H */
|