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
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2009-05-01 16:41:06 +02:00
|
|
|
FILE_LICENCE ( GPL2_OR_LATER );
|
|
|
|
|
2008-10-13 10:37:51 +02:00
|
|
|
#include <config/defaults.h>
|
|
|
|
|
2008-10-31 20:10:28 +01:00
|
|
|
/*
|
|
|
|
* Branding
|
|
|
|
*
|
2010-04-19 21:16:01 +02:00
|
|
|
* Vendors may use these strings to add their own branding to iPXE.
|
|
|
|
* PRODUCT_NAME is displayed prior to any iPXE branding in startup
|
2008-10-31 20:10:28 +01:00
|
|
|
* 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
|
2010-04-19 21:16:01 +02:00
|
|
|
* "iPXE".
|
2008-10-31 20:10:28 +01:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
#define PRODUCT_NAME ""
|
2010-04-19 21:16:01 +02:00
|
|
|
#define PRODUCT_SHORT_NAME "iPXE"
|
2008-10-31 20:10:28 +01:00
|
|
|
|
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 */
|
|
|
|
|
2009-10-07 01:15:06 +02:00
|
|
|
/*
|
|
|
|
* PXE support
|
|
|
|
*
|
|
|
|
*/
|
2010-04-19 21:16:01 +02:00
|
|
|
//#undef PXE_STACK /* PXE stack in iPXE - you want this! */
|
2009-10-07 01:15:06 +02:00
|
|
|
//#undef PXE_MENU /* PXE menu booting */
|
|
|
|
|
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 */
|
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 */
|
|
|
|
|
2008-10-13 11:05:23 +02:00
|
|
|
/*
|
|
|
|
* SAN boot protocols
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
//#undef SANBOOT_PROTO_ISCSI /* iSCSI protocol */
|
|
|
|
//#undef SANBOOT_PROTO_AOE /* AoE protocol */
|
2009-07-17 23:11:42 +02:00
|
|
|
//#undef SANBOOT_PROTO_IB_SRP /* Infiniband SCSI RDMA protocol */
|
2008-10-13 11:05:23 +02:00
|
|
|
|
2009-06-24 09:37:52 +02:00
|
|
|
/*
|
|
|
|
* 802.11 cryptosystems and handshaking protocols
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
#define CRYPTO_80211_WEP /* WEP encryption (deprecated and insecure!) */
|
2009-08-08 08:06:22 +02:00
|
|
|
#define CRYPTO_80211_WPA /* WPA Personal, authenticating with passphrase */
|
2009-11-29 20:10:48 +01:00
|
|
|
#define CRYPTO_80211_WPA2 /* Add support for stronger WPA cryptography */
|
2009-06-24 09:37:52 +02:00
|
|
|
|
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-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 */
|
2010-04-19 21:16:01 +02:00
|
|
|
//#define IMAGE_SCRIPT /* iPXE script image support */
|
2008-10-13 10:37:51 +02:00
|
|
|
//#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 */
|
2009-08-08 05:17:50 +02:00
|
|
|
#define IWMGMT_CMD /* Wireless 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 */
|
2009-03-21 06:48:15 +01:00
|
|
|
#undef TIME_CMD /* Time commands */
|
2009-03-26 23:04:31 +01:00
|
|
|
#undef DIGEST_CMD /* Image crypto digest commands */
|
2009-08-02 23:52:05 +02:00
|
|
|
//#undef PXE_CMD /* PXE commands */
|
2006-12-20 01:39:06 +01:00
|
|
|
|
2009-08-08 05:17:50 +02:00
|
|
|
/*
|
|
|
|
* Error message tables to include
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
#undef ERRMSG_80211 /* All 802.11 error descriptions (~3.3kb) */
|
|
|
|
|
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
|
|
|
|
2010-03-22 23:19:00 +01:00
|
|
|
#include <config/local/general.h>
|
|
|
|
|
2008-10-08 01:37:40 +02:00
|
|
|
#endif /* CONFIG_GENERAL_H */
|