Config.in 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. source "toolchain/uClibc/Config.in"
  14. config GDB
  15. bool
  16. prompt "Build gdb" if TOOLCHAINOPTS
  17. default n
  18. help
  19. Enable if you want to build the gdb
  20. config LARGEFILE
  21. bool
  22. prompt "Enable large file (files > 2 GB) support?" if TOOLCHAINOPTS
  23. default y
  24. help
  25. Enable large file (files > 2 GB) support
  26. config SHADOW_PASSWORDS
  27. bool
  28. prompt "Enable shadow password support?" if TOOLCHAINOPTS
  29. default y
  30. help
  31. Enable shadow password support.
  32. config SOFT_FLOAT
  33. bool
  34. prompt "Use software floating point by default" if TOOLCHAINOPTS
  35. default y
  36. depends on arm || armeb || 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 "-O2 -pipe -march=i686 -funit-at-a-time" if TARGET_x86_mediacenter
  47. default "-O2 -pipe -march=i486 -funit-at-a-time" if TARGET_x86
  48. default "-Os -pipe -march=i486 -funit-at-a-time" if TARGET_rdc
  49. default "-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time" if mipsel || mips
  50. default "-Os -pipe -march=armv5te -mtune=xscale -funit-at-a-time" if armeb || arm
  51. default "-Os -pipe -funit-at-a-time"
  52. help
  53. Optimizations to use when building for the target host.
  54. source "toolchain/gcc/Config.version"
  55. source "toolchain/uClibc/Config.version"