Config.in.arch 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  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. choice
  9. prompt "Target File Format"
  10. config UCLIBC_FORMAT_ELF
  11. bool "ELF"
  12. depends on ARCH_USE_MMU
  13. config UCLIBC_FORMAT_FDPIC_ELF
  14. bool "FDPIC ELF"
  15. depends on !ARCH_USE_MMU
  16. config UCLIBC_FORMAT_FLAT
  17. bool "STATIC FLAT"
  18. depends on !ARCH_USE_MMU
  19. config UCLIBC_FORMAT_FLAT_SEP_DATA
  20. bool "STATIC FLAT (sep-data)"
  21. depends on !ARCH_USE_MMU
  22. config UCLIBC_FORMAT_SHARED_FLAT
  23. bool "SHARED FLAT"
  24. depends on !ARCH_USE_MMU
  25. help
  26. Pick this one if you are using uClinux and wish to build
  27. uClibc as a flat-format shared library.
  28. endchoice
  29. config UCLIBC_SHARED_FLAT_ID
  30. int "Shared library ID"
  31. default 1
  32. depends on UCLIBC_FORMAT_SHARED_FLAT
  33. help
  34. When using flat shared libraries, every library has a unique
  35. system-wide identifier. Identifier 0 is reserved for
  36. executables and true shared libraries have identifiers
  37. starting at 1. The maximum shared library identifier is
  38. determined by the kernel and is usually 3. Shared library
  39. N must be available on the target system as "/lib/libN.so".
  40. When a shared C library is used, it usually has identifier 1,
  41. but you can use this option to select a different identifier
  42. if you need to.
  43. #
  44. # Endian Format
  45. #
  46. config ARCH_ANY_ENDIAN
  47. bool
  48. config ARCH_BIG_ENDIAN
  49. bool
  50. config ARCH_LITTLE_ENDIAN
  51. bool
  52. if ARCH_ANY_ENDIAN
  53. choice
  54. prompt "Target Processor Endianness"
  55. help
  56. This is the endianness you wish to use. Choose either Big
  57. Endian, or Little Endian.
  58. config ARCH_WANTS_BIG_ENDIAN
  59. bool "Big Endian"
  60. select ARCH_BIG_ENDIAN
  61. config ARCH_WANTS_LITTLE_ENDIAN
  62. bool "Little Endian"
  63. select ARCH_LITTLE_ENDIAN
  64. endchoice
  65. endif
  66. # if the arch only supports one endian, just display the setting
  67. if !ARCH_ANY_ENDIAN && ARCH_LITTLE_ENDIAN
  68. comment "Using Little Endian"
  69. endif
  70. if !ARCH_ANY_ENDIAN && ARCH_BIG_ENDIAN
  71. comment "Using Big Endian"
  72. endif
  73. config ARCH_HAS_NO_MMU
  74. bool
  75. if ARCH_HAS_NO_MMU
  76. comment "Target CPU lacks a memory management unit (MMU)"
  77. endif
  78. config ARCH_HAS_MMU
  79. bool "Target CPU has a memory management unit (MMU)"
  80. depends !ARCH_HAS_NO_MMU
  81. default y
  82. help
  83. If your target CPU does not have a memory management unit (MMU),
  84. then answer N here. Normally, Linux runs on systems with an MMU.
  85. If you are building a uClinux system, answer N.
  86. Most people will answer Y.
  87. config ARCH_USE_MMU
  88. bool "Do you want to utilize the MMU?"
  89. depends on ARCH_HAS_MMU
  90. default y
  91. help
  92. If your target CPU has a MMU, and you wish to actually utilize it,
  93. then answer Y here. Normal Linux requires an MMU.
  94. If you're unsure, answer Y.
  95. config UCLIBC_HAS_FLOATS
  96. bool "Enable floating point number support"
  97. default y
  98. help
  99. This option allows you to entirely omit all floating point number
  100. support from uClibc. This will cause floating point functions like
  101. strtod() to be omitted from uClibc. Other floating point functions,
  102. such as printf() and scanf() will still be included in the library,
  103. but will not contain support for floating point numbers.
  104. Answering N to this option can reduce the size of uClibc. Most people
  105. will answer Y.
  106. config UCLIBC_HAS_FPU
  107. bool "Target CPU has a floating point unit (FPU)"
  108. depends on UCLIBC_HAS_FLOATS
  109. default y
  110. help
  111. If your target CPU does not have a Floating Point Unit (FPU) or a
  112. kernel FPU emulator, but you still wish to support floating point
  113. functions, then uClibc will need to be compiled with soft floating
  114. point support (-msoft-float). If your target CPU does not have an
  115. FPU or an FPU emulator within the Linux kernel, then you should
  116. answer N.
  117. Most people will answer Y.
  118. config UCLIBC_HAS_SOFT_FLOAT
  119. bool
  120. depends on UCLIBC_HAS_FLOATS && !UCLIBC_HAS_FPU
  121. default y
  122. config DO_C99_MATH
  123. bool "Enable full C99 math library support"
  124. depends on UCLIBC_HAS_FLOATS
  125. default n
  126. help
  127. If you want the uClibc math library to contain the full set C99
  128. math library features, then answer Y. If you leave this set to
  129. N the math library will contain only the math functions that were
  130. listed as part of the traditional POSIX/IEEE 1003.1b-1993 standard.
  131. Leaving this option set to N will save around 35k on an x86 system.
  132. If your applications require the newer C99 math library functions,
  133. then answer Y.
  134. config KERNEL_SOURCE
  135. string "Linux kernel header location"
  136. default "/usr/src/linux"
  137. help
  138. The kernel source you use to compile with should be the same as the
  139. Linux kernel you run your apps on. uClibc doesn't even try to achieve binary
  140. compatibility across kernel versions. So don't expect, for example, uClibc
  141. compiled with Linux kernel 2.0.x to implement lchown properly, since 2.0.x
  142. can't do that. Similarly, if you compile uClibc vs Linux 2.4.x kernel headers,
  143. but then run on Linux 2.0.x, lchown will be compiled into uClibc, but won't
  144. work at all. You have been warned.
  145. config UCLIBC_UCLINUX_BROKEN_MUNMAP
  146. bool
  147. depends on !ARCH_USE_MMU
  148. default y
  149. config EXCLUDE_BRK
  150. bool
  151. depends on !ARCH_USE_MMU
  152. default y
  153. config HAVE_DOT_CONFIG
  154. bool
  155. default y