Config.in.mips 2.2 KB

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