Config.in.mips 2.5 KB

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