Config.in.arch 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see extra/config/Kconfig-language.txt
  4. #
  5. choice
  6. prompt "Target Processor Endianness"
  7. default ARCH_LITTLE_ENDIAN
  8. help
  9. This is the endianness you wish to build use. Choose either Big
  10. Endian, or Little Endian.
  11. config ARCH_LITTLE_ENDIAN
  12. bool "Little Endian"
  13. config ARCH_BIG_ENDIAN
  14. bool "Big Endian"
  15. endchoice
  16. config ARCH_HAS_NO_MMU
  17. bool
  18. default n
  19. config UCLIBC_HAS_MMU
  20. bool "Target CPU has a memory management unit (MMU)"
  21. default y
  22. depends !ARCH_HAS_NO_MMU
  23. help
  24. If your target CPU does not have a memory management unit (MMU),
  25. then answer N here. Normally, Linux runs on systems with an MMU.
  26. If you are building a uClinux system, answer N.
  27. Most people will answer Y.
  28. config UCLIBC_HAS_FLOATS
  29. bool "Enable floating point number support"
  30. default y
  31. help
  32. This option allows you to entirely omit all floating point number
  33. support from uClibc. This will cause floating point functions like
  34. strtod() to be omitted from uClibc. Other floating point functions,
  35. such as printf() and scanf() will still be included in the library,
  36. but will not contain support for floating point numbers.
  37. Answering N to this option can reduce the size of uClibc. Most people
  38. will answer Y.
  39. config ARCH_HAS_NO_FPU
  40. bool
  41. default n
  42. config HAS_FPU
  43. bool "Target CPU has a floating point unit (FPU)"
  44. depends on UCLIBC_HAS_FLOATS && !ARCH_HAS_NO_FPU
  45. default y
  46. help
  47. If your target CPU does not have a Floating Point Unit (FPU) or a
  48. kernel FPU emulator, but you still wish to support floating point
  49. functions, then uClibc will need to be compiled with soft floating
  50. point support (-msoft-float). If your target CPU does not have an
  51. FPU or an FPU emulator within the Linux kernel, then you should
  52. answer N.
  53. Most people will answer Y.
  54. config UCLIBC_HAS_SOFT_FLOAT
  55. bool
  56. depends on UCLIBC_HAS_FLOATS && !HAS_FPU
  57. default y
  58. config DO_C99_MATH
  59. bool "Enable full C99 math library support"
  60. depends on UCLIBC_HAS_FLOATS
  61. default n
  62. help
  63. If you want the uClibc math library to contain the full set C99
  64. math library features, then answer Y. If you leave this set to
  65. N the math library will contain only the math functions that were
  66. listed as part of the traditional POSIX/IEEE 1003.1b-1993 standard.
  67. Leaving this option set to N will save around 35k on an x86 system.
  68. If your applications require the newer C99 math library functions,
  69. then answer Y.
  70. config WARNINGS
  71. string "Compiler Warnings"
  72. default "-Wall"
  73. help
  74. Set this to the set of gcc warnings you wish to see while compiling.
  75. config KERNEL_SOURCE
  76. string "Linux kernel header location"
  77. default "/usr/src/linux"
  78. help
  79. The kernel source you use to compile with should be the same as the
  80. Linux kernel you run your apps on. uClibc doesn't even try to achieve binary
  81. compatibility across kernel versions. So don't expect, for example, uClibc
  82. compiled with Linux kernel 2.0.x to implement lchown properly, since 2.0.x
  83. can't do that. Similarly, if you compile uClibc vs Linux 2.4.x kernel headers,
  84. but then run on Linux 2.0.x, lchown will be compiled into uClibc, but won't
  85. work at all. You have been warned.
  86. config UCLIBC_UCLINUX_BROKEN_MUNMAP
  87. bool
  88. depends on !UCLIBC_HAS_MMU
  89. default y
  90. config EXCLUDE_BRK
  91. bool
  92. depends on !UCLIBC_HAS_MMU
  93. default y
  94. config C_SYMBOL_PREFIX
  95. string
  96. default "_" if ARCH_HAS_C_SYMBOL_PREFIX
  97. default "" if !ARCH_HAS_C_SYMBOL_PREFIX
  98. config HAVE_DOT_CONFIG
  99. bool
  100. default y