Config.in 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. #
  2. config NATIVE_TOOLCHAIN
  3. bool
  4. prompt "Use host's toolchain" if DEVEL && BROKEN
  5. default n
  6. help
  7. If enabled, OpenWrt will compile using your existing toolchain instead of compiling one
  8. menuconfig TOOLCHAINOPTS
  9. bool "Toolchain Options" if DEVEL
  10. depends !NATIVE_TOOLCHAIN
  11. source "toolchain/binutils/Config.in"
  12. source "toolchain/gcc/Config.in"
  13. config GDB
  14. bool
  15. prompt "Build gdb" if TOOLCHAINOPTS
  16. default n
  17. help
  18. Enable if you want to build the gdb
  19. config LARGEFILE
  20. bool
  21. prompt "Enable large file (files > 2 GB) support?" if TOOLCHAINOPTS
  22. default y
  23. help
  24. Enable large file (files > 2 GB) support
  25. config C99_MATH
  26. bool
  27. prompt "Enable full C99 math support?" if TOOLCHAINOPTS
  28. default n
  29. help
  30. Enable if you need full C99 math in libm
  31. config SOFT_FLOAT
  32. bool
  33. prompt "Use software floating point by default" if TOOLCHAINOPTS
  34. default n
  35. depends on arm || mips || powerpc
  36. help
  37. If your target CPU does not have a Floating Point Unit (FPU) or a
  38. kernel FPU emulator, but you still wish to support floating point
  39. functions, then everything will need to be compiled with soft floating
  40. point support (-msoft-float).
  41. Most people will answer N.
  42. config TARGET_OPTIMIZATION
  43. string
  44. prompt "Target Optimizations" if TOOLCHAINOPTS
  45. default "-O2 -pipe -march=i486 -funit-at-a-time" if LINUX_2_6_X86
  46. default "-Os -pipe -march=i486 -funit-at-a-time" if LINUX_2_6_RDC
  47. default "-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time" if mipsel || mips
  48. default "-Os -pipe -march=armv5te -mtune=xscale -funit-at-a-time" if armeb
  49. default "-Os -pipe -funit-at-a-time"
  50. help
  51. Optimizations to use when building for the target host.
  52. source "toolchain/gcc/Config.version"