Config.in.arch 3.4 KB

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