Config.in.arch 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  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 "Target CPU does not have a memory management unit (MMU)"
  19. select ARCH_HAS_NO_LDSO if !TARGET_frv
  20. default n
  21. config ARCH_HAS_MMU
  22. bool "Target CPU has a memory management unit (MMU)"
  23. default y
  24. depends !ARCH_HAS_NO_MMU
  25. help
  26. If your target CPU does not have a memory management unit (MMU),
  27. then answer N here. Normally, Linux runs on systems with an MMU.
  28. If you are building a uClinux system, answer N.
  29. Most people will answer Y.
  30. config UCLIBC_HAS_FLOATS
  31. bool "Enable floating point number support"
  32. default y
  33. help
  34. This option allows you to entirely omit all floating point number
  35. support from uClibc. This will cause floating point functions like
  36. strtod() to be omitted from uClibc. Other floating point functions,
  37. such as printf() and scanf() will still be included in the library,
  38. but will not contain support for floating point numbers.
  39. Answering N to this option can reduce the size of uClibc. Most people
  40. will answer Y.
  41. config HAS_FPU
  42. bool "Target CPU has a floating point unit (FPU)"
  43. depends on UCLIBC_HAS_FLOATS
  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 KERNEL_SOURCE
  70. string "Linux kernel header location"
  71. default "/usr/src/linux"
  72. help
  73. The kernel source you use to compile with should be the same as the
  74. Linux kernel you run your apps on. uClibc doesn't even try to achieve binary
  75. compatibility across kernel versions. So don't expect, for example, uClibc
  76. compiled with Linux kernel 2.0.x to implement lchown properly, since 2.0.x
  77. can't do that. Similarly, if you compile uClibc vs Linux 2.4.x kernel headers,
  78. but then run on Linux 2.0.x, lchown will be compiled into uClibc, but won't
  79. work at all. You have been warned.
  80. config UCLIBC_UCLINUX_BROKEN_MUNMAP
  81. bool
  82. depends on !ARCH_HAS_MMU
  83. default y
  84. config EXCLUDE_BRK
  85. bool
  86. depends on !ARCH_HAS_MMU
  87. default y
  88. config C_SYMBOL_PREFIX
  89. string
  90. default "_" if ARCH_HAS_C_SYMBOL_PREFIX
  91. default "" if !ARCH_HAS_C_SYMBOL_PREFIX
  92. config HAVE_DOT_CONFIG
  93. bool
  94. default y