Config.in.arch 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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 HAS_FPU
  39. bool "Target CPU has a floating point unit (FPU)"
  40. depends on UCLIBC_HAS_FLOATS
  41. default y
  42. help
  43. If your target CPU does not have a Floating Point Unit (FPU) or a
  44. kernel FPU emulator, but you still wish to support floating point
  45. functions, then uClibc will need to be compiled with soft floating
  46. point support (-msoft-float). If your target CPU does not have an
  47. FPU or an FPU emulator within the Linux kernel, then you should
  48. answer N.
  49. Most people will answer Y.
  50. config UCLIBC_HAS_SOFT_FLOAT
  51. bool
  52. depends on UCLIBC_HAS_FLOATS && !HAS_FPU
  53. default y
  54. config DO_C99_MATH
  55. bool "Enable full C99 math library support"
  56. depends on UCLIBC_HAS_FLOATS
  57. default n
  58. help
  59. If you want the uClibc math library to contain the full set C99
  60. math library features, then answer Y. If you leave this set to
  61. N the math library will contain only the math functions that were
  62. listed as part of the traditional POSIX/IEEE 1003.1b-1993 standard.
  63. Leaving this option set to N will save around 35k on an x86 system.
  64. If your applications require the newer C99 math library functions,
  65. then answer Y.
  66. config WARNINGS
  67. string "Compiler Warnings"
  68. default "-Wall"
  69. help
  70. Set this to the set of gcc warnings you wish to see while compiling.
  71. config KERNEL_SOURCE
  72. string "Linux kernel header location"
  73. default "/usr/src/linux"
  74. help
  75. The kernel source you use to compile with should be the same as the
  76. Linux kernel you run your apps on. uClibc doesn't even try to achieve binary
  77. compatibility across kernel versions. So don't expect, for example, uClibc
  78. compiled with Linux kernel 2.0.x to implement lchown properly, since 2.0.x
  79. can't do that. Similarly, if you compile uClibc vs Linux 2.4.x kernel headers,
  80. but then run on Linux 2.0.x, lchown will be compiled into uClibc, but won't
  81. work at all. You have been warned.
  82. config UCLIBC_UCLINUX_BROKEN_MUNMAP
  83. bool
  84. depends on !UCLIBC_HAS_MMU
  85. default y
  86. config EXCLUDE_BRK
  87. bool
  88. depends on !UCLIBC_HAS_MMU
  89. default y
  90. config C_SYMBOL_PREFIX
  91. string
  92. default "_" if ARCH_HAS_C_SYMBOL_PREFIX
  93. default "" if !ARCH_HAS_C_SYMBOL_PREFIX
  94. config HAVE_DOT_CONFIG
  95. bool
  96. default y