You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

general.h 4.0KB

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