Config.in.mips 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. choice
  2. prompt "Target Architecture Variant"
  3. depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
  4. default BR2_mips_32 if BR2_mips || BR2_mipsel
  5. default BR2_mips_64 if BR2_mips64 || BR2_mips64el
  6. help
  7. Specific CPU variant to use
  8. 64bit cabable: 64, 64r2, 64r6
  9. non-64bit capable: 32, 32r2, 32r6
  10. config BR2_mips_32
  11. bool "mips 32"
  12. depends on !BR2_ARCH_IS_64
  13. config BR2_mips_32r2
  14. bool "mips 32r2"
  15. depends on !BR2_ARCH_IS_64
  16. config BR2_mips_32r6
  17. bool "mips 32r6"
  18. depends on !BR2_ARCH_IS_64
  19. config BR2_mips_64
  20. bool "mips 64"
  21. depends on BR2_ARCH_IS_64
  22. config BR2_mips_64r2
  23. bool "mips 64r2"
  24. depends on BR2_ARCH_IS_64
  25. config BR2_mips_64r6
  26. bool "mips 64r6"
  27. depends on BR2_ARCH_IS_64
  28. endchoice
  29. choice
  30. prompt "Target ABI"
  31. depends on BR2_mips64 || BR2_mips64el
  32. default BR2_MIPS_NABI32
  33. help
  34. Application Binary Interface to use
  35. config BR2_MIPS_NABI32
  36. bool "n32"
  37. depends on BR2_ARCH_IS_64
  38. select BR2_KERNEL_64_USERLAND_32
  39. config BR2_MIPS_NABI64
  40. bool "n64"
  41. depends on BR2_ARCH_IS_64
  42. endchoice
  43. config BR2_MIPS_SOFT_FLOAT
  44. bool "Use soft-float"
  45. default y
  46. select BR2_SOFT_FLOAT
  47. help
  48. If your target CPU does not have a Floating Point Unit (FPU)
  49. or a kernel FPU emulator, but you still wish to support
  50. floating point functions, then everything will need to be
  51. compiled with soft floating point support (-msoft-float).
  52. config BR2_ARCH
  53. default "mips" if BR2_mips
  54. default "mipsel" if BR2_mipsel
  55. default "mips64" if BR2_mips64
  56. default "mips64el" if BR2_mips64el
  57. config BR2_ENDIAN
  58. default "LITTLE" if BR2_mipsel || BR2_mips64el
  59. default "BIG" if BR2_mips || BR2_mips64
  60. config BR2_ARCH_HAS_ATOMICS
  61. default y
  62. config BR2_GCC_TARGET_ARCH
  63. default "mips32" if BR2_mips_32
  64. default "mips32r2" if BR2_mips_32r2
  65. default "mips32r6" if BR2_mips_32r6
  66. default "mips64" if BR2_mips_64
  67. default "mips64r2" if BR2_mips_64r2
  68. default "mips64r6" if BR2_mips_64r6
  69. config BR2_MIPS_OABI32
  70. bool
  71. default y if BR2_mips || BR2_mipsel
  72. config BR2_GCC_TARGET_ABI
  73. default "32" if BR2_MIPS_OABI32
  74. default "n32" if BR2_MIPS_NABI32
  75. default "64" if BR2_MIPS_NABI64