Config.in.arch 2.8 KB

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