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. depends on !cris
  23. default y
  24. help
  25. Enable large file (files > 2 GB) support
  26. config C99_MATH
  27. bool
  28. prompt "Enable full C99 math support?" if TOOLCHAINOPTS
  29. default n
  30. help
  31. Enable if you need full C99 math in libm
  32. config SOFT_FLOAT
  33. bool
  34. prompt "Use software floating point by default" if TOOLCHAINOPTS
  35. default n
  36. depends on arm || mips || powerpc
  37. help
  38. If your target CPU does not have a Floating Point Unit (FPU) or a
  39. kernel FPU emulator, but you still wish to support floating point
  40. functions, then everything will need to be compiled with soft floating
  41. point support (-msoft-float).
  42. Most people will answer N.
  43. config TARGET_OPTIMIZATION
  44. string
  45. prompt "Target Optimizations" if TOOLCHAINOPTS
  46. default "-Os -pipe -march=i486 -funit-at-a-time" if i386
  47. default "-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time" if mipsel || mips
  48. default "-Os -pipe -mcpu=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"