|
|
1.1 ! root 1: #ifndef CONFIG_GENERAL_H ! 2: #define CONFIG_GENERAL_H ! 3: ! 4: /** @file ! 5: * ! 6: * General configuration ! 7: * ! 8: */ ! 9: ! 10: FILE_LICENCE ( GPL2_OR_LATER ); ! 11: ! 12: #include <config/defaults.h> ! 13: ! 14: /* ! 15: * Branding ! 16: * ! 17: * Vendors may use these strings to add their own branding to iPXE. ! 18: * PRODUCT_NAME is displayed prior to any iPXE branding in startup ! 19: * messages, and PRODUCT_SHORT_NAME is used where a brief product ! 20: * label is required (e.g. in BIOS boot selection menus). ! 21: * ! 22: * To minimise end-user confusion, it's probably a good idea to either ! 23: * make PRODUCT_SHORT_NAME a substring of PRODUCT_NAME or leave it as ! 24: * "iPXE". ! 25: * ! 26: */ ! 27: #define PRODUCT_NAME "" ! 28: #define PRODUCT_SHORT_NAME "iPXE" ! 29: ! 30: /* ! 31: * Timer configuration ! 32: * ! 33: */ ! 34: #define BANNER_TIMEOUT 20 /* Tenths of a second for which the shell ! 35: banner should appear */ ! 36: ! 37: /* ! 38: * Network protocols ! 39: * ! 40: */ ! 41: ! 42: #define NET_PROTO_IPV4 /* IPv4 protocol */ ! 43: #undef NET_PROTO_FCOE /* Fibre Channel over Ethernet protocol */ ! 44: ! 45: /* ! 46: * PXE support ! 47: * ! 48: */ ! 49: //#undef PXE_STACK /* PXE stack in iPXE - you want this! */ ! 50: //#undef PXE_MENU /* PXE menu booting */ ! 51: ! 52: /* ! 53: * Download protocols ! 54: * ! 55: */ ! 56: ! 57: #define DOWNLOAD_PROTO_TFTP /* Trivial File Transfer Protocol */ ! 58: #define DOWNLOAD_PROTO_HTTP /* Hypertext Transfer Protocol */ ! 59: #undef DOWNLOAD_PROTO_HTTPS /* Secure Hypertext Transfer Protocol */ ! 60: #undef DOWNLOAD_PROTO_FTP /* File Transfer Protocol */ ! 61: #undef DOWNLOAD_PROTO_TFTM /* Multicast Trivial File Transfer Protocol */ ! 62: #undef DOWNLOAD_PROTO_SLAM /* Scalable Local Area Multicast */ ! 63: ! 64: /* ! 65: * SAN boot protocols ! 66: * ! 67: */ ! 68: ! 69: //#undef SANBOOT_PROTO_ISCSI /* iSCSI protocol */ ! 70: //#undef SANBOOT_PROTO_AOE /* AoE protocol */ ! 71: //#undef SANBOOT_PROTO_IB_SRP /* Infiniband SCSI RDMA protocol */ ! 72: //#undef SANBOOT_PROTO_FCP /* Fibre Channel protocol */ ! 73: ! 74: /* ! 75: * 802.11 cryptosystems and handshaking protocols ! 76: * ! 77: */ ! 78: #define CRYPTO_80211_WEP /* WEP encryption (deprecated and insecure!) */ ! 79: #define CRYPTO_80211_WPA /* WPA Personal, authenticating with passphrase */ ! 80: #define CRYPTO_80211_WPA2 /* Add support for stronger WPA cryptography */ ! 81: ! 82: /* ! 83: * Name resolution modules ! 84: * ! 85: */ ! 86: ! 87: #define DNS_RESOLVER /* DNS resolver */ ! 88: ! 89: /* ! 90: * Image types ! 91: * ! 92: * Etherboot supports various image formats. Select whichever ones ! 93: * you want to use. ! 94: * ! 95: */ ! 96: //#define IMAGE_NBI /* NBI image support */ ! 97: //#define IMAGE_ELF /* ELF image support */ ! 98: //#define IMAGE_FREEBSD /* FreeBSD kernel image support */ ! 99: //#define IMAGE_MULTIBOOT /* MultiBoot image support */ ! 100: //#define IMAGE_AOUT /* a.out image support */ ! 101: //#define IMAGE_WINCE /* WinCE image support */ ! 102: //#define IMAGE_PXE /* PXE image support */ ! 103: //#define IMAGE_SCRIPT /* iPXE script image support */ ! 104: //#define IMAGE_BZIMAGE /* Linux bzImage image support */ ! 105: //#define IMAGE_COMBOOT /* SYSLINUX COMBOOT image support */ ! 106: //#define IMAGE_EFI /* EFI image support */ ! 107: ! 108: /* ! 109: * Command-line commands to include ! 110: * ! 111: */ ! 112: #define AUTOBOOT_CMD /* Automatic booting */ ! 113: #define NVO_CMD /* Non-volatile option storage commands */ ! 114: #define CONFIG_CMD /* Option configuration console */ ! 115: #define IFMGMT_CMD /* Interface management commands */ ! 116: #define IWMGMT_CMD /* Wireless interface management commands */ ! 117: #define FCMGMT_CMD /* Fibre Channel management commands */ ! 118: #define ROUTE_CMD /* Routing table management commands */ ! 119: #define IMAGE_CMD /* Image management commands */ ! 120: #define DHCP_CMD /* DHCP management commands */ ! 121: #define SANBOOT_CMD /* SAN boot commands */ ! 122: #define LOGIN_CMD /* Login command */ ! 123: #undef TIME_CMD /* Time commands */ ! 124: #undef DIGEST_CMD /* Image crypto digest commands */ ! 125: #undef LOTEST_CMD /* Loopback testing commands */ ! 126: #undef VLAN_CMD /* VLAN commands */ ! 127: #undef PXE_CMD /* PXE commands */ ! 128: #undef REBOOT_CMD /* Reboot command */ ! 129: ! 130: /* ! 131: * Error message tables to include ! 132: * ! 133: */ ! 134: #undef ERRMSG_80211 /* All 802.11 error descriptions (~3.3kb) */ ! 135: ! 136: /* ! 137: * Obscure configuration options ! 138: * ! 139: * You probably don't need to touch these. ! 140: * ! 141: */ ! 142: ! 143: #define NETDEV_DISCARD_RATE 0 /* Drop every N packets (0=>no drop) */ ! 144: #undef BUILD_SERIAL /* Include an automatic build serial ! 145: * number. Add "bs" to the list of ! 146: * make targets. For example: ! 147: * "make bin/rtl8139.dsk bs" */ ! 148: #undef BUILD_ID /* Include a custom build ID string, ! 149: * e.g "test-foo" */ ! 150: #undef NULL_TRAP /* Attempt to catch NULL function calls */ ! 151: #undef GDBSERIAL /* Remote GDB debugging over serial */ ! 152: #undef GDBUDP /* Remote GDB debugging over UDP ! 153: * (both may be set) */ ! 154: ! 155: #include <config/local/general.h> ! 156: ! 157: #endif /* CONFIG_GENERAL_H */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.