Config.in.arch 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see extra/config/Kconfig-language.txt
  4. #
  5. #
  6. # Binary format
  7. #
  8. if !ARCH_USE_MMU
  9. choice
  10. prompt "Target File Format"
  11. config UCLIBC_FORMAT_ELF
  12. bool "ELF"
  13. depends on ARCH_USE_MMU
  14. config UCLIBC_FORMAT_FDPIC_ELF
  15. bool "FDPIC ELF"
  16. depends on !ARCH_USE_MMU
  17. select DOPIC
  18. config UCLIBC_FORMAT_FLAT
  19. bool "STATIC FLAT"
  20. depends on !ARCH_USE_MMU
  21. select ARCH_HAS_NO_LDSO
  22. config UCLIBC_FORMAT_FLAT_SEP_DATA
  23. bool "STATIC FLAT (sep-data)"
  24. depends on !ARCH_USE_MMU
  25. select ARCH_HAS_NO_LDSO
  26. config UCLIBC_FORMAT_SHARED_FLAT
  27. bool "SHARED FLAT"
  28. depends on !ARCH_USE_MMU
  29. select ARCH_HAS_NO_LDSO
  30. help
  31. Pick this one if you are using uClinux and wish to build
  32. uClibc as a flat-format shared library.
  33. endchoice
  34. endif
  35. if ARCH_USE_MMU
  36. comment "Using ELF file format"
  37. endif
  38. config UCLIBC_SHARED_FLAT_ID
  39. int "Shared library ID"
  40. default 1
  41. depends on UCLIBC_FORMAT_SHARED_FLAT
  42. help
  43. When using flat shared libraries, every library has a unique
  44. system-wide identifier. Identifier 0 is reserved for
  45. executables and true shared libraries have identifiers
  46. starting at 1. The maximum shared library identifier is
  47. determined by the kernel and is usually 3. Shared library
  48. N must be available on the target system as "/lib/libN.so".
  49. When a shared C library is used, it usually has identifier 1,
  50. but you can use this option to select a different identifier
  51. if you need to.
  52. #
  53. # Endian Format
  54. #
  55. config ARCH_ANY_ENDIAN
  56. bool
  57. config ARCH_BIG_ENDIAN
  58. bool
  59. config ARCH_LITTLE_ENDIAN
  60. bool
  61. if ARCH_ANY_ENDIAN
  62. choice
  63. prompt "Target Processor Endianness"
  64. help
  65. This is the endianness you wish to use. Choose either Big
  66. Endian, or Little Endian.
  67. config ARCH_WANTS_BIG_ENDIAN
  68. bool "Big Endian"
  69. select ARCH_BIG_ENDIAN
  70. config ARCH_WANTS_LITTLE_ENDIAN
  71. bool "Little Endian"
  72. select ARCH_LITTLE_ENDIAN
  73. endchoice
  74. endif
  75. # if the arch only supports one endian, just display the setting
  76. if !ARCH_ANY_ENDIAN && ARCH_LITTLE_ENDIAN
  77. comment "Using Little Endian"
  78. endif
  79. if !ARCH_ANY_ENDIAN && ARCH_BIG_ENDIAN
  80. comment "Using Big Endian"
  81. endif
  82. config ARCH_HAS_NO_MMU
  83. bool
  84. if ARCH_HAS_NO_MMU
  85. comment "Target CPU lacks a memory management unit (MMU)"
  86. endif
  87. config ARCH_HAS_MMU
  88. bool "Target CPU has a memory management unit (MMU)"
  89. depends on !ARCH_HAS_NO_MMU
  90. default y
  91. help
  92. If your target CPU does not have a memory management unit (MMU),
  93. then answer N here. Normally, Linux runs on systems with an MMU.
  94. If you are building a uClinux system, answer N.
  95. Most people will answer Y.
  96. config ARCH_USE_MMU
  97. bool "Do you want to utilize the MMU?"
  98. depends on ARCH_HAS_MMU
  99. default y
  100. help
  101. If your target CPU has a MMU, and you wish to actually utilize it,
  102. then answer Y here. Normal Linux requires an MMU.
  103. If you're unsure, answer Y.
  104. config UCLIBC_HAS_FLOATS
  105. bool "Enable floating point number support"
  106. default y
  107. help
  108. This option allows you to entirely omit all floating point number
  109. support from uClibc. This will cause floating point functions like
  110. strtod() to be omitted from uClibc. Other floating point functions,
  111. such as printf() and scanf() will still be included in the library,
  112. but will not contain support for floating point numbers.
  113. Answering N to this option can reduce the size of uClibc.
  114. Most people will answer Y.
  115. config UCLIBC_HAS_FPU
  116. bool "Target CPU has a floating point unit (FPU)"
  117. depends on UCLIBC_HAS_FLOATS
  118. default y
  119. help
  120. If your target CPU does not have a Floating Point Unit (FPU) or a
  121. kernel FPU emulator, but you still wish to support floating point
  122. functions, then uClibc will need to be compiled with soft floating
  123. point support (-msoft-float). If your target CPU does not have an
  124. FPU or an FPU emulator within the Linux kernel, then you should
  125. answer N.
  126. Most people will answer Y.
  127. config UCLIBC_HAS_SOFT_FLOAT
  128. bool
  129. depends on UCLIBC_HAS_FLOATS && !UCLIBC_HAS_FPU
  130. default y
  131. config DO_C99_MATH
  132. bool "Enable full C99 math library support"
  133. depends on UCLIBC_HAS_FLOATS
  134. default n
  135. help
  136. If you want the uClibc math library to contain the full set C99
  137. math library features, then answer Y. If you leave this set to
  138. N the math library will contain only the math functions that were
  139. listed as part of the traditional POSIX/IEEE 1003.1b-1993 standard.
  140. Leaving this option set to N will save around 35k on an x86 system.
  141. If your applications require the newer C99 math library functions,
  142. then answer Y.
  143. config DO_XSI_MATH
  144. bool "Enable XSI math extensions to the ISO C standard (bessel)"
  145. depends on UCLIBC_HAS_FLOATS
  146. default n
  147. help
  148. X/Open System Interfaces extensions to ISO C math functions
  149. (differential equation functions):
  150. j0, j1, jn - Bessel functions of the first kind
  151. y0, y1, yn - Bessel functions of the second kind
  152. config UCLIBC_HAS_FENV
  153. bool "Enable C99 Floating-point environment"
  154. depends on UCLIBC_HAS_FLOATS
  155. default n
  156. help
  157. If you want the uClibc math library to contain the C99 floating
  158. point environment, rounding and exception handling functions then
  159. say Y here.
  160. NOTE: Supported architectures currently include:
  161. i386
  162. config UCLIBC_HAS_LONG_DOUBLE_MATH
  163. bool "Enable long double support"
  164. depends on DO_C99_MATH
  165. depends on TARGET_i386 || TARGET_m68k || TARGET_sparc || TARGET_x86_64 || TARGET_powerpc || TARGET_sh
  166. default y
  167. help
  168. If you want the uClibc math library to contain the full set of C99
  169. long double math library features, then answer Y. Don't enable it
  170. for sparc w/ 32bit ABI.
  171. config KERNEL_HEADERS
  172. string "Linux kernel header location"
  173. default "/usr/include"
  174. help
  175. The kernel source you use to compile with should be the same
  176. as the Linux kernel you run your apps on. uClibc doesn't even
  177. try to achieve binary compatibility across kernel versions.
  178. So don't expect, for example, uClibc compiled with Linux kernel
  179. 2.0.x to implement lchown properly, since 2.0.x can't do that.
  180. Similarly, if you compile uClibc vs Linux 2.4.x kernel headers,
  181. but then run on Linux 2.0.x, lchown will be compiled into uClibc,
  182. but won't work at all. You have been warned.
  183. config UCLIBC_UCLINUX_BROKEN_MUNMAP
  184. bool
  185. depends on !ARCH_USE_MMU
  186. default y
  187. config HAVE_DOT_CONFIG
  188. bool
  189. default y