Config.in.mips 2.3 KB

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