Config.in.arch 3.3 KB

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