[e16e8f2] | 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 gPXE. |
---|
| 18 | * PRODUCT_NAME is displayed prior to any gPXE 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 | * "gPXE". |
---|
| 25 | * |
---|
| 26 | */ |
---|
| 27 | #define PRODUCT_NAME "" |
---|
| 28 | #define PRODUCT_SHORT_NAME "gPXE" |
---|
| 29 | |
---|
| 30 | /* |
---|
| 31 | * Timer configuration |
---|
| 32 | * |
---|
| 33 | */ |
---|
| 34 | #define BANNER_TIMEOUT 0 /* 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 | |
---|
| 44 | /* |
---|
| 45 | * PXE support |
---|
| 46 | * |
---|
| 47 | */ |
---|
| 48 | //#undef PXE_STACK /* PXE stack in gPXE - you want this! */ |
---|
| 49 | //#undef PXE_MENU /* PXE menu booting */ |
---|
| 50 | |
---|
| 51 | /* |
---|
| 52 | * Download protocols |
---|
| 53 | * |
---|
| 54 | */ |
---|
| 55 | |
---|
| 56 | #define DOWNLOAD_PROTO_TFTP /* Trivial File Transfer Protocol */ |
---|
| 57 | #define DOWNLOAD_PROTO_HTTP /* Hypertext Transfer Protocol */ |
---|
| 58 | #define DOWNLOAD_PROTO_HTTPS /* Secure Hypertext Transfer Protocol */ |
---|
| 59 | #define DOWNLOAD_PROTO_FTP /* File Transfer Protocol */ |
---|
| 60 | #undef DOWNLOAD_PROTO_TFTM /* Multicast Trivial File Transfer Protocol */ |
---|
| 61 | #undef DOWNLOAD_PROTO_SLAM /* Scalable Local Area Multicast */ |
---|
| 62 | |
---|
| 63 | /* |
---|
| 64 | * SAN boot protocols |
---|
| 65 | * |
---|
| 66 | */ |
---|
| 67 | |
---|
| 68 | //#undef SANBOOT_PROTO_ISCSI /* iSCSI protocol */ |
---|
| 69 | //#undef SANBOOT_PROTO_AOE /* AoE protocol */ |
---|
| 70 | //#undef SANBOOT_PROTO_IB_SRP /* Infiniband SCSI RDMA protocol */ |
---|
| 71 | |
---|
| 72 | /* |
---|
| 73 | * 802.11 cryptosystems and handshaking protocols |
---|
| 74 | * |
---|
| 75 | */ |
---|
| 76 | #define CRYPTO_80211_WEP /* WEP encryption (deprecated and insecure!) */ |
---|
| 77 | #define CRYPTO_80211_WPA /* WPA Personal, authenticating with passphrase */ |
---|
| 78 | #define CRYPTO_80211_WPA2 /* Add support for stronger WPA cryptography */ |
---|
| 79 | |
---|
| 80 | /* |
---|
| 81 | * Name resolution modules |
---|
| 82 | * |
---|
| 83 | */ |
---|
| 84 | |
---|
| 85 | #define DNS_RESOLVER /* DNS resolver */ |
---|
| 86 | |
---|
| 87 | /* |
---|
| 88 | * Image types |
---|
| 89 | * |
---|
| 90 | * Etherboot supports various image formats. Select whichever ones |
---|
| 91 | * you want to use. |
---|
| 92 | * |
---|
| 93 | */ |
---|
| 94 | //#define IMAGE_NBI /* NBI image support */ |
---|
| 95 | //#define IMAGE_ELF /* ELF image support */ |
---|
| 96 | //#define IMAGE_FREEBSD /* FreeBSD kernel image support */ |
---|
| 97 | //#define IMAGE_MULTIBOOT /* MultiBoot image support */ |
---|
| 98 | //#define IMAGE_AOUT /* a.out image support */ |
---|
| 99 | //#define IMAGE_WINCE /* WinCE image support */ |
---|
| 100 | //#define IMAGE_PXE /* PXE image support */ |
---|
| 101 | //#define IMAGE_SCRIPT /* gPXE script image support */ |
---|
| 102 | //#define IMAGE_BZIMAGE /* Linux bzImage image support */ |
---|
| 103 | //#define IMAGE_COMBOOT /* SYSLINUX COMBOOT image support */ |
---|
| 104 | //#define IMAGE_EFI /* EFI image support */ |
---|
| 105 | |
---|
| 106 | /* |
---|
| 107 | * Command-line commands to include |
---|
| 108 | * |
---|
| 109 | */ |
---|
| 110 | #define AUTOBOOT_CMD /* Automatic booting */ |
---|
| 111 | #define NVO_CMD /* Non-volatile option storage commands */ |
---|
| 112 | #define CONFIG_CMD /* Option configuration console */ |
---|
| 113 | #define IFMGMT_CMD /* Interface management commands */ |
---|
| 114 | #define IWMGMT_CMD /* Wireless interface management commands */ |
---|
| 115 | #define ROUTE_CMD /* Routing table management commands */ |
---|
| 116 | #define IMAGE_CMD /* Image management commands */ |
---|
| 117 | #define DHCP_CMD /* DHCP management commands */ |
---|
| 118 | #define SANBOOT_CMD /* SAN boot commands */ |
---|
| 119 | #define LOGIN_CMD /* Login command */ |
---|
| 120 | #undef TIME_CMD /* Time commands */ |
---|
| 121 | #undef DIGEST_CMD /* Image crypto digest commands */ |
---|
| 122 | //#undef PXE_CMD /* PXE commands */ |
---|
| 123 | |
---|
| 124 | /* |
---|
| 125 | * Error message tables to include |
---|
| 126 | * |
---|
| 127 | */ |
---|
| 128 | #undef ERRMSG_80211 /* All 802.11 error descriptions (~3.3kb) */ |
---|
| 129 | |
---|
| 130 | /* |
---|
| 131 | * Obscure configuration options |
---|
| 132 | * |
---|
| 133 | * You probably don't need to touch these. |
---|
| 134 | * |
---|
| 135 | */ |
---|
| 136 | |
---|
| 137 | #undef BUILD_SERIAL /* Include an automatic build serial |
---|
| 138 | * number. Add "bs" to the list of |
---|
| 139 | * make targets. For example: |
---|
| 140 | * "make bin/rtl8139.dsk bs" */ |
---|
| 141 | #undef BUILD_ID /* Include a custom build ID string, |
---|
| 142 | * e.g "test-foo" */ |
---|
| 143 | #undef NULL_TRAP /* Attempt to catch NULL function calls */ |
---|
| 144 | #undef GDBSERIAL /* Remote GDB debugging over serial */ |
---|
| 145 | #undef GDBUDP /* Remote GDB debugging over UDP |
---|
| 146 | * (both may be set) */ |
---|
| 147 | |
---|
| 148 | #endif /* CONFIG_GENERAL_H */ |
---|